Files
crystall-punk-14/Content.Server/_CP14/RoundLeave/CP14RoundLeaveComponent.cs
Ed ac541b63ef new round leave system (#1178)
* round leave

* maps update
2025-04-13 15:36:41 +03:00

21 lines
532 B
C#

namespace Content.Server._CP14.RoundLeave;
/// <summary>
/// Allows a player to leave the round if they exit into a ghost while inside
/// </summary>
[RegisterComponent]
public sealed partial class CP14RoundLeaveComponent : Component
{
}
/// <summary>
/// Marker on entities. If a player goes ghost with this component, he leaves the round and regains the role.
/// </summary>
[RegisterComponent]
public sealed partial class CP14RoundLeavingComponent : Component
{
[DataField]
public HashSet<EntityUid> Leaver = new();
}