Files
tbd-station-14/Content.Server/Roles/RoleAddedEvent.cs
2023-08-30 18:06:15 -07:00

13 lines
627 B
C#

using Content.Server.Mind;
namespace Content.Server.Roles;
/// <summary>
/// Raised on player entities when a role is added to them.
/// <see cref="RoleAddedEvent"/> for the one raised on mind entities.
/// </summary>
/// <param name="MindId">The mind id associated with the player.</param>
/// <param name="Mind">The mind component associated with the mind id.</param>
/// <param name="Antagonist">Whether or not the role makes the player an antagonist.</param>
public sealed record RoleAddedEvent(EntityUid MindId, MindComponent Mind, bool Antagonist, bool Silent = false) : RoleEvent(MindId, Mind, Antagonist);