mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Full Data packet handling
This commit is contained in:
parent
6b12832b02
commit
c104e21ef0
6 changed files with 119 additions and 35 deletions
|
|
@ -129,6 +129,17 @@ class PocketMinecraftClient{
|
|||
$this->send(0xc0, array(1, true, $data[0]));
|
||||
}
|
||||
switch($data["id"]){
|
||||
case 0x00:
|
||||
$this->send(0x84, array(
|
||||
$this->counter[0],
|
||||
0x40,
|
||||
array(
|
||||
"id" => 0x00,
|
||||
"payload" => $data["payload"],
|
||||
),
|
||||
));
|
||||
++$this->counter[0];
|
||||
break;
|
||||
case 0x10:
|
||||
$this->send(0x84, array(
|
||||
$this->counter[0],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue