IOnClientDisconnectedEvent
Interface IOnClientDisconnectedEvent
Namespace: SwiftlyS2.Shared.Events
Assembly: SwiftlyS2.CS2.dll
Called when a client disconnects from the server.
public interface IOnClientDisconnectedEventProperties
PlayerId
The player ID of the client that disconnected.
int PlayerId { get; }Property Value
Reason
The reason for the client to disconnect.
ENetworkDisconnectionReason Reason { get; }Property Value