Move minds, roles, jobs and objectives to shared (#19679)
This commit is contained in:
11
Content.Shared/Roles/RoleEvent.cs
Normal file
11
Content.Shared/Roles/RoleEvent.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Content.Shared.Mind;
|
||||
|
||||
namespace Content.Shared.Roles;
|
||||
|
||||
/// <summary>
|
||||
/// Base event raised on player entities to indicate that something changed about one of their roles.
|
||||
/// </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 abstract record RoleEvent(EntityUid MindId, MindComponent Mind, bool Antagonist);
|
||||
Reference in New Issue
Block a user