PocketMine-MP 5.21.1 git-2ff647079265e7c600203af4fd902b15e99d49a4
raklib\generic\DisconnectReason Class Reference
+ Collaboration diagram for raklib\generic\DisconnectReason:

Static Public Member Functions

static toString (int $reason)
 

Public Attributes

const CLIENT_DISCONNECT = 0
 
const CLIENT_RECONNECT = 3
 
const PEER_TIMEOUT = 2
 
const SERVER_DISCONNECT = 1
 
const SERVER_SHUTDOWN = 4
 

Detailed Description

Definition at line 19 of file DisconnectReason.php.

Member Function Documentation

◆ toString()

static raklib\generic\DisconnectReason::toString ( int  $reason)
static

Definition at line 26 of file DisconnectReason.php.

Member Data Documentation

◆ CLIENT_DISCONNECT

const raklib\generic\DisconnectReason::CLIENT_DISCONNECT = 0

Definition at line 20 of file DisconnectReason.php.

◆ CLIENT_RECONNECT

const raklib\generic\DisconnectReason::CLIENT_RECONNECT = 3

Definition at line 23 of file DisconnectReason.php.

◆ PEER_TIMEOUT

const raklib\generic\DisconnectReason::PEER_TIMEOUT = 2

Definition at line 22 of file DisconnectReason.php.

◆ SERVER_DISCONNECT

const raklib\generic\DisconnectReason::SERVER_DISCONNECT = 1

Definition at line 21 of file DisconnectReason.php.

◆ SERVER_SHUTDOWN

const raklib\generic\DisconnectReason::SERVER_SHUTDOWN = 4

Definition at line 24 of file DisconnectReason.php.


The documentation for this class was generated from the following file: