MindIsAntagonistEvent.cs 520 B

12345678910
  1. namespace Content.Shared.Roles;
  2. /// <summary>
  3. /// Event raised on a mind entity id to get whether or not the player is considered an antagonist,
  4. /// depending on their roles.
  5. /// </summary>
  6. /// <param name="IsAntagonist">Whether or not the player is an antagonist.</param>
  7. /// <param name="IsExclusiveAntagonist">Whether or not AntagSelectionSystem should exclude this player from other antag roles</param>
  8. [ByRefEvent]
  9. public record struct MindIsAntagonistEvent(bool IsAntagonist, bool IsExclusiveAntagonist);