PocketMine
|
Public Member Functions | |
__construct (SourceInterface $interface, $baseClass, $playerClass, $clientId, $address, $port) | |
getInterface () | |
getAddress () | |
getPort () | |
getClientId () | |
getBaseClass () | |
setBaseClass ($class) | |
getPlayerClass () | |
setPlayerClass ($class) | |
Public Member Functions inherited from Event | |
getEventName () | |
getHandlers () | |
Static Public Attributes | |
static | $handlerList = null |
Additional Inherited Members | |
Protected Attributes inherited from Event | |
$eventName = null | |
Allows the creation of players overriding the base Player class
__construct | ( | SourceInterface | $interface, |
$baseClass, | |||
$playerClass, | |||
$clientId, | |||
$address, | |||
$port | |||
) |
SourceInterface | $interface | |
Player::class | $baseClass | |
Player::class | $playerClass | |
mixed | $clientId | |
string | $address | |
int | $port |
getAddress | ( | ) |
getBaseClass | ( | ) |
getClientId | ( | ) |
getInterface | ( | ) |
getPlayerClass | ( | ) |
getPort | ( | ) |
setBaseClass | ( | $class | ) |
Player::class | $class |
setPlayerClass | ( | $class | ) |
Player::class | $class |