1
0

RCDEvents.cs 767 B

12345678910111213141516171819202122232425262728293031323334
  1. using Robust.Shared.Prototypes;
  2. using Robust.Shared.Serialization;
  3. namespace Content.Shared.RCD;
  4. [Serializable, NetSerializable]
  5. public sealed class RCDSystemMessage : BoundUserInterfaceMessage
  6. {
  7. public ProtoId<RCDPrototype> ProtoId;
  8. public RCDSystemMessage(ProtoId<RCDPrototype> protoId)
  9. {
  10. ProtoId = protoId;
  11. }
  12. }
  13. [Serializable, NetSerializable]
  14. public sealed class RCDConstructionGhostRotationEvent : EntityEventArgs
  15. {
  16. public readonly NetEntity NetEntity;
  17. public readonly Direction Direction;
  18. public RCDConstructionGhostRotationEvent(NetEntity netEntity, Direction direction)
  19. {
  20. NetEntity = netEntity;
  21. Direction = direction;
  22. }
  23. }
  24. [Serializable, NetSerializable]
  25. public enum RcdUiKey : byte
  26. {
  27. Key
  28. }