using Content.Shared.Players.PlayTimeTracking; namespace Content.Shared.Roles; /// /// Event raised on a mind entity to get all roles that a player has. /// /// The list of roles on the player. [ByRefEvent] public readonly record struct MindGetAllRolesEvent(List Roles); /// /// Returned by to give some information about a player's role. /// /// Role component associated with the mind entity id. /// Name of the role. /// Whether or not this role makes this player an antagonist. /// The id associated with the role. public readonly record struct RoleInfo(Component Component, string Name, bool Antagonist, string? PlayTimeTrackerId);