RoleRemovedEvent.cs 550 B

1234567891011
  1. using Content.Shared.Mind;
  2. namespace Content.Shared.Roles;
  3. /// <summary>
  4. /// Raised on mind entities when a mind role is removed from them.
  5. /// </summary>
  6. /// <param name="MindId">The mind id associated with the player.</param>
  7. /// <param name="Mind">The mind component associated with the mind id.</param>
  8. /// <param name="RoleTypeUpdate">True if this update has changed the mind's role type</param>
  9. public sealed record RoleRemovedEvent(EntityUid MindId, MindComponent Mind, bool RoleTypeUpdate) : RoleEvent(MindId, Mind, RoleTypeUpdate);