SharedSandboxSystem.cs 898 B

12345678910111213141516171819202122232425262728
  1. using Robust.Shared.Prototypes;
  2. using Robust.Shared.Serialization;
  3. namespace Content.Shared.Sandbox
  4. {
  5. public abstract class SharedSandboxSystem : EntitySystem
  6. {
  7. [Dependency] protected readonly IPrototypeManager PrototypeManager = default!;
  8. [Serializable, NetSerializable]
  9. protected sealed class MsgSandboxStatus : EntityEventArgs
  10. {
  11. public bool SandboxAllowed { get; set; }
  12. }
  13. [Serializable, NetSerializable]
  14. protected sealed class MsgSandboxRespawn : EntityEventArgs {}
  15. [Serializable, NetSerializable]
  16. protected sealed class MsgSandboxGiveAccess : EntityEventArgs {}
  17. [Serializable, NetSerializable]
  18. protected sealed class MsgSandboxGiveAghost : EntityEventArgs {}
  19. [Serializable, NetSerializable]
  20. protected sealed class MsgSandboxSuicide : EntityEventArgs {}
  21. }
  22. }