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 MindGetAllRoleInfoEvent(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. /// The prototype ID of the role public readonly record struct RoleInfo(string Name, bool Antagonist, string? PlayTimeTrackerId, string Prototype);