Delta-v/Content.Shared/Roles/MindIsAntagonistEvent.cs

11 lines
520 B
C#

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