Make the material ejection control completely generic (#23308)
* Finish decoupling material ejection from lathes * commented
This commit is contained in:
@@ -105,13 +105,15 @@ public record struct GetMaterialWhitelistEvent(EntityUid Storage)
|
||||
/// Message sent to try and eject a material from a storage
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class EjectMaterialMessage : BoundUserInterfaceMessage
|
||||
public sealed class EjectMaterialMessage : EntityEventArgs
|
||||
{
|
||||
public NetEntity Entity;
|
||||
public string Material;
|
||||
public int SheetsToExtract;
|
||||
|
||||
public EjectMaterialMessage(string material, int sheetsToExtract)
|
||||
public EjectMaterialMessage(NetEntity entity, string material, int sheetsToExtract)
|
||||
{
|
||||
Entity = entity;
|
||||
Material = material;
|
||||
SheetsToExtract = sheetsToExtract;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user