Implement SmartFridge functionality (#38648)
* Add SmartFridge * my nit so pick * my access so expanded and my whitelist so both * list -> hashset
This commit is contained in:
committed by
GitHub
parent
99b431cafd
commit
d2ddbcbcda
@@ -33,3 +33,15 @@ public sealed partial class DumpableComponent : Component
|
||||
[DataField("multiplier"), AutoNetworkedField]
|
||||
public float Multiplier = 1.0f;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Event raised on Dumpable entities to get the verb for dumping
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public record struct GetDumpableVerbEvent(EntityUid User, string? Verb);
|
||||
|
||||
/// <summary>
|
||||
/// Event raised on Dumpable entities to complete the dump
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public record struct DumpEvent(Queue<EntityUid> DumpQueue, EntityUid User, bool PlaySound, bool Handled);
|
||||
|
||||
Reference in New Issue
Block a user