mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed some lines indented with 4 spaces rather than tabs
This commit is contained in:
@ -26,7 +26,7 @@ namespace pocketmine\network\protocol;
|
||||
|
||||
class FullChunkDataPacket extends DataPacket{
|
||||
const NETWORK_ID = Info::FULL_CHUNK_DATA_PACKET;
|
||||
|
||||
|
||||
const ORDER_COLUMNS = 0;
|
||||
const ORDER_LAYERED = 1;
|
||||
|
||||
@ -41,9 +41,9 @@ class FullChunkDataPacket extends DataPacket{
|
||||
|
||||
public function encode(){
|
||||
$this->reset();
|
||||
$this->putInt($this->chunkX);
|
||||
$this->putInt($this->chunkZ);
|
||||
$this->putByte($this->order);
|
||||
$this->putInt($this->chunkX);
|
||||
$this->putInt($this->chunkZ);
|
||||
$this->putByte($this->order);
|
||||
$this->putInt(strlen($this->data));
|
||||
$this->put($this->data);
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ namespace pocketmine\network\protocol;
|
||||
|
||||
class PlayStatusPacket extends DataPacket{
|
||||
const NETWORK_ID = Info::PLAY_STATUS_PACKET;
|
||||
|
||||
|
||||
const LOGIN_SUCCESS = 0;
|
||||
const LOGIN_FAILED_CLIENT = 1;
|
||||
const LOGIN_FAILED_SERVER = 2;
|
||||
|
@ -29,7 +29,7 @@ class UpdateBlockPacket extends DataPacket{
|
||||
|
||||
const FLAG_NONE = 0b0000;
|
||||
const FLAG_NEIGHBORS = 0b0001;
|
||||
const FLAG_NETWORK = 0b0010;
|
||||
const FLAG_NETWORK = 0b0010;
|
||||
const FLAG_NOGRAPHIC = 0b0100;
|
||||
const FLAG_PRIORITY = 0b1000;
|
||||
|
||||
|
@ -44,7 +44,7 @@ class QueryHandler{
|
||||
The Query protocol is built on top of the existing Minecraft PE UDP network stack.
|
||||
Because the 0xFE packet does not exist in the MCPE protocol,
|
||||
we can identify Query packets and remove them from the packet queue.
|
||||
|
||||
|
||||
Then, the Query class handles itself sending the packets in raw form, because
|
||||
packets can conflict with the MCPE ones.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user