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

Public Attributes

const DEFAULT_PROTOCOL_VERSION = 6
 

Static Public Attributes

static int $SYSTEM_ADDRESS_COUNT = 20
 

Detailed Description

Definition at line 19 of file RakLib.php.

Member Data Documentation

◆ $SYSTEM_ADDRESS_COUNT

int raklib\RakLib::$SYSTEM_ADDRESS_COUNT = 20
static

Regular RakNet uses 10 by default. MCPE uses 20. Configure this value as appropriate.

Definition at line 27 of file RakLib.php.

◆ DEFAULT_PROTOCOL_VERSION

const raklib\RakLib::DEFAULT_PROTOCOL_VERSION = 6

Default vanilla RakNet protocol version that this library implements. Things using RakLib can override this protocol version with something different.

Definition at line 24 of file RakLib.php.


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