Show / Hide Table of Contents

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 Source

RoundStartAttemptEvent(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 Source

Forced

Declaration
public bool Forced { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Players

Declaration
public IPlayerSession[] Players { get; }
Property Value
Type Description
Robust.Server.Player.IPlayerSession[]
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾