|
| decode () |
|
| encode () |
|
| pid () |
|
| encode () |
|
| decode () |
|
| reset () |
|
| clean () |
|
| __debugInfo () |
|
| getEntityMetadata (bool $types=true) |
|
| putEntityMetadata (array $metadata) |
|
| getName () |
|
| __construct ($buffer="", $offset=0) |
|
| reset () |
|
| setBuffer ($buffer=null, $offset=0) |
|
| getOffset () |
|
| getBuffer () |
|
| get ($len) |
|
| put ($str) |
|
| getBool () |
|
| putBool ($v) |
|
| getLong () |
|
| putLong ($v) |
|
| getInt () |
|
| putInt ($v) |
|
| getLLong () |
|
| putLLong ($v) |
|
| getLInt () |
|
| putLInt ($v) |
|
| getSignedShort () |
|
| putShort ($v) |
|
| getShort () |
|
| putSignedShort ($v) |
|
| getFloat (int $accuracy=-1) |
|
| putFloat ($v) |
|
| getLShort ($signed=true) |
|
| putLShort ($v) |
|
| getLFloat (int $accuracy=-1) |
|
| putLFloat ($v) |
|
| getTriad () |
|
| putTriad ($v) |
|
| getLTriad () |
|
| putLTriad ($v) |
|
| getByte () |
|
| putByte ($v) |
|
| getUUID () |
|
| putUUID (UUID $uuid) |
|
| getSlot () |
|
| putSlot (Item $item) |
|
| getString () |
|
| putString ($v) |
|
| getUnsignedVarInt () |
|
| putUnsignedVarInt ($v) |
|
| getVarInt () |
|
| putVarInt ($v) |
|
| getEntityId () |
|
| putEntityId ($v) |
|
| getBlockCoords (&$x, &$y, &$z) |
|
| putBlockCoords ($x, $y, $z) |
|
| getVector3f (&$x, &$y, &$z) |
|
| putVector3f ($x, $y, $z) |
|
| feof () |
|
◆ decode()
◆ encode()
81 $this->
putBlockCoords($this->spawnX, $this->spawnY, $this->spawnZ);
82 $this->
putBool($this->hasAchievementsDisabled);
83 $this->
putVarInt($this->dayCycleStopTime);
87 $this->
putBool($this->commandsEnabled);
88 $this->
putBool($this->isTexturePacksRequired);
92 $this->
putString($this->premiumWorldTemplateId);
◆ $commandsEnabled
◆ $dayCycleStopTime
◆ $difficulty
◆ $dimension
◆ $eduMode
◆ $entityRuntimeId
◆ $entityUniqueId
◆ $generator
◆ $hasAchievementsDisabled
$hasAchievementsDisabled = 1 |
◆ $isTexturePacksRequired
$isTexturePacksRequired = 0 |
◆ $levelId
◆ $lightningLevel
◆ $pitch
◆ $playerGamemode
◆ $premiumWorldTemplateId
$premiumWorldTemplateId = "" |
◆ $rainLevel
◆ $seed
◆ $spawnX
◆ $spawnY
◆ $spawnZ
◆ $worldGamemode
◆ $worldName
◆ $x
◆ $y
◆ $yaw
◆ $z
◆ NETWORK_ID
The documentation for this class was generated from the following file:
- src/pocketmine/network/mcpe/protocol/StartGamePacket.php