2023-08-30 21:46:11 -07:00
|
|
|
|
using Content.Shared.Mind;
|
2020-08-27 16:39:29 +02:00
|
|
|
|
|
2023-08-30 21:46:11 -07:00
|
|
|
|
namespace Content.Shared.Roles;
|
2023-08-28 16:53:24 -07:00
|
|
|
|
|
|
|
|
|
|
/// <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);
|