mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
11 lines
530 B
C#
11 lines
530 B
C#
using Content.Shared.Mind;
|
|
|
|
namespace Content.Shared.Roles;
|
|
|
|
/// <summary>
|
|
/// Base event raised on mind entities to indicate that a mind role was either added or removed.
|
|
/// </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="RoleTypeUpdate">True if this update has changed the mind's role type</param>
|
|
public abstract record RoleEvent(EntityUid MindId, MindComponent Mind, bool RoleTypeUpdate);
|