Class RoundStartAttemptEvent
Attempt event raised on round start. This can be listened to by GameRule systems to cancel round start if some condition is not met, like player count.
Inheritance
System.Object
RoundStartAttemptEvent
Namespace: Content.Server.GameTicking
Assembly: Content.Server.dll
Syntax
public sealed class RoundStartAttemptEvent : CancellableEntityEventArgs
Constructors
| Improve this Doc View SourceRoundStartAttemptEvent(IPlayerSession[], Boolean)
Declaration
public RoundStartAttemptEvent(IPlayerSession[] players, bool forced)
Parameters
Type | Name | Description |
---|---|---|
Robust.Server.Player.IPlayerSession[] | players | |
System.Boolean | forced |
Properties
| Improve this Doc View SourceForced
Declaration
public bool Forced { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Players
Declaration
public IPlayerSession[] Players { get; }
Property Value
Type | Description |
---|---|
Robust.Server.Player.IPlayerSession[] |