UseSlotNetworkMessage.cs 443 B

12345678910111213141516
  1. using Robust.Shared.Serialization;
  2. namespace Content.Shared.Inventory.Events;
  3. [NetSerializable, Serializable]
  4. public sealed class UseSlotNetworkMessage : EntityEventArgs
  5. {
  6. // The slot-owner is implicitly the client that is sending this message.
  7. // Otherwise clients could start forcefully undressing other clients.
  8. public readonly string Slot;
  9. public UseSlotNetworkMessage(string slot)
  10. {
  11. Slot = slot;
  12. }
  13. }