2023-08-30 21:46:11 -07:00
|
|
|
|
using Content.Shared.Mind;
|
2023-08-28 16:53:24 -07:00
|
|
|
|
|
2023-08-30 21:46:11 -07:00
|
|
|
|
namespace Content.Shared.Roles;
|
2023-08-28 16:53:24 -07:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2023-08-29 15:50:23 -07:00
|
|
|
|
/// Raised on player entities when a role is added to them.
|
|
|
|
|
|
/// <see cref="RoleAddedEvent"/> for the one raised on mind entities.
|
2023-08-28 16:53:24 -07:00
|
|
|
|
/// </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>
|
2023-08-30 21:06:15 -04:00
|
|
|
|
public sealed record RoleAddedEvent(EntityUid MindId, MindComponent Mind, bool Antagonist, bool Silent = false) : RoleEvent(MindId, Mind, Antagonist);
|