SwiftlyS2

EventPlayerDisconnect

Interface EventPlayerDisconnect

Namespace: SwiftlyS2.Shared.GameEventDefinitions

Assembly: SwiftlyS2.CS2.dll

Event "player_disconnect" a client was disconnected

public interface EventPlayerDisconnect : IGameEvent<EventPlayerDisconnect>

Implements

Properties

Name

player name


type: string

string Name { get; set; }
Property Value

NetworkID

player network (i.e steam) id


type: string

string NetworkID { get; set; }
Property Value

PlayerID

type: short

short PlayerID { get; set; }
Property Value

Reason

see networkdisconnect enum protobuf


type: short

short Reason { get; set; }
Property Value

UserId

user ID on server


type: player_controller

int UserId { get; set; }
Property Value

UserIdController

user ID on server


type: player_controller

CCSPlayerController UserIdController { get; }
Property Value

UserIdPawn

user ID on server


type: player_controller

CCSPlayerPawn UserIdPawn { get; }
Property Value

UserIdPlayer

IPlayer UserIdPlayer { get; }
Property Value

XuID

steam id


type: uint64

ulong XuID { get; set; }
Property Value

On this page