AntagAcceptability.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. namespace Content.Shared.Antag;
  2. /// <summary>
  3. /// Used by AntagSelectionSystem to indicate which types of antag roles are allowed to choose the same entity
  4. /// For example, Thief HeadRev
  5. /// </summary>
  6. public enum AntagAcceptability
  7. {
  8. /// <summary>
  9. /// Dont choose anyone who already has an antag role
  10. /// </summary>
  11. None,
  12. /// <summary>
  13. /// Dont choose anyone who has an exclusive antag role
  14. /// </summary>
  15. NotExclusive,
  16. /// <summary>
  17. /// Choose anyone
  18. /// </summary>
  19. All,
  20. }
  21. public enum AntagSelectionTime : byte
  22. {
  23. /// <summary>
  24. /// Antag roles are assigned before players are assigned jobs and spawned in.
  25. /// This prevents antag selection from happening if the round is on-going.
  26. /// </summary>
  27. PrePlayerSpawn,
  28. /// <summary>
  29. /// Antag roles are selected to the player session before job assignment and spawning.
  30. /// Unlike PrePlayerSpawn, this does not remove you from the job spawn pool.
  31. /// </summary>
  32. IntraPlayerSpawn,
  33. /// <summary>
  34. /// Antag roles get assigned after players have been assigned jobs and have spawned in.
  35. /// </summary>
  36. PostPlayerSpawn,
  37. }