swiftlys2/docs/api/ai/
API Reference Events

IOnClientDisconnectedEvent

Interface
Namespace: SwiftlyS2.Shared.Events · Assembly: SwiftlyS2.CS2.dll
public interface IOnClientDisconnectedEvent

Called when a client disconnects from the server.

View source

Properties

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
ENetworkDisconnectionReason