mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
23 lines
No EOL
433 B
PHP
23 lines
No EOL
433 B
PHP
<?php
|
|
|
|
class RequestChunkPacket extends RakNetDataPacket{
|
|
public $chunkX;
|
|
public $chunkZ;
|
|
|
|
public function pid(){
|
|
if($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
|
return ProtocolInfo12::REQUEST_CHUNK_PACKET;
|
|
}
|
|
return ProtocolInfo::REQUEST_CHUNK_PACKET;
|
|
}
|
|
|
|
public function decode(){
|
|
$this->chunkX = $this->getInt();
|
|
$this->chunkZ = $this->getInt();
|
|
}
|
|
|
|
public function encode(){
|
|
|
|
}
|
|
|
|
} |