Files
OldThink/Content.Shared/Roles/MindIsAntagonistEvent.cs

11 lines
519 B
C#
Raw Permalink Normal View History

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);