mirror of
https://github.com/pmmp/BedrockProtocol.git
synced 2024-11-27 08:29:09 +00:00
34 lines
840 B
PHP
34 lines
840 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of BedrockProtocol.
|
|
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/BedrockProtocol>
|
|
*
|
|
* BedrockProtocol is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace pocketmine\network\mcpe\protocol;
|
|
|
|
use pocketmine\network\mcpe\protocol\serializer\PacketSerializer;
|
|
|
|
class TestPacket extends DataPacket{
|
|
public const NETWORK_ID = 1023;
|
|
|
|
protected function decodePayload(PacketSerializer $in) : void{
|
|
|
|
}
|
|
|
|
protected function encodePayload(PacketSerializer $out) : void{
|
|
|
|
}
|
|
|
|
public function handle(PacketHandlerInterface $handler) : bool{
|
|
return false;
|
|
}
|
|
}
|