PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
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: