42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
namespace Content.Shared.Antag;
|
|
|
|
/// <summary>
|
|
/// Used by AntagSelectionSystem to indicate which types of antag roles are allowed to choose the same entity
|
|
/// For example, Thief HeadRev
|
|
/// </summary>
|
|
public enum AntagAcceptability
|
|
{
|
|
/// <summary>
|
|
/// Dont choose anyone who already has an antag role
|
|
/// </summary>
|
|
None,
|
|
/// <summary>
|
|
/// Dont choose anyone who has an exclusive antag role
|
|
/// </summary>
|
|
NotExclusive,
|
|
/// <summary>
|
|
/// Choose anyone
|
|
/// </summary>
|
|
All,
|
|
}
|
|
|
|
public enum AntagSelectionTime : byte
|
|
{
|
|
/// <summary>
|
|
/// Antag roles are assigned before players are assigned jobs and spawned in.
|
|
/// This prevents antag selection from happening if the round is on-going.
|
|
/// </summary>
|
|
PrePlayerSpawn,
|
|
|
|
/// <summary>
|
|
/// Antag roles are selected to the player session before job assignment and spawning.
|
|
/// Unlike PrePlayerSpawn, this does not remove you from the job spawn pool.
|
|
/// </summary>
|
|
IntraPlayerSpawn,
|
|
|
|
/// <summary>
|
|
/// Antag roles get assigned after players have been assigned jobs and have spawned in.
|
|
/// </summary>
|
|
PostPlayerSpawn,
|
|
}
|