Move minds, roles, jobs and objectives to shared (#19679)
This commit is contained in:
12
Content.Shared/Roles/RoleAddedEvent.cs
Normal file
12
Content.Shared/Roles/RoleAddedEvent.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Content.Shared.Mind;
|
||||
|
||||
namespace Content.Shared.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);
|
||||
Reference in New Issue
Block a user