KROYSDOCS
HomeWhat's newv0.1.0
SCRIPTING API / Multiplayer / SessionEventType

SessionEventType

What happened in the session (see GameMode).

Kindenum
NamespaceKroys.EngineScripting
Members5
SourceGameSession.cs
DECLARATION

Declaration

Namespace Kroys.EngineScripting.

Declaration
public enum SessionEventType : uint
REFERENCE

Values

Values
#PlayerJoined = 0
A client connected or a bot was added.
value
#PlayerLeft = 1
A client disconnected (or was kicked) or a bot was removed.
value
#PlayerReadyChanged = 2
A player became ready or not ready.
value
#Travelled = 3
The server loaded another map.
value
#MatchStateChanged = 4
The game mode changed the match state.
value
Signatures
PlayerJoined = 0
PlayerLeft = 1
PlayerReadyChanged = 2
Travelled = 3
MatchStateChanged = 4

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.