mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-13 15:05:33 +00:00
Found field of ShowProfilePacket
This commit is contained in:
parent
1dd2203ee5
commit
bc7ba3b3c1
@ -31,14 +31,14 @@ class ShowProfilePacket extends DataPacket{
|
|||||||
const NETWORK_ID = ProtocolInfo::SHOW_PROFILE_PACKET;
|
const NETWORK_ID = ProtocolInfo::SHOW_PROFILE_PACKET;
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
public $string1;
|
public $xuid;
|
||||||
|
|
||||||
protected function decodePayload(){
|
protected function decodePayload(){
|
||||||
$this->string1 = $this->getString();
|
$this->xuid = $this->getString();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function encodePayload(){
|
protected function encodePayload(){
|
||||||
$this->putString($this->string1);
|
$this->putString($this->xuid);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function handle(NetworkSession $session) : bool{
|
public function handle(NetworkSession $session) : bool{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user