mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Some packets
This commit is contained in:
parent
22965e0acf
commit
123f988017
4 changed files with 35 additions and 40 deletions
|
|
@ -27,7 +27,7 @@ the Free Software Foundation, either version 3 of the License, or
|
|||
|
||||
$pstruct = array(
|
||||
0x02 => array(
|
||||
"double",
|
||||
8,
|
||||
"magic",
|
||||
),
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ $pstruct = array(
|
|||
|
||||
0x06 => array(
|
||||
"magic",
|
||||
"double",
|
||||
8,
|
||||
"byte",
|
||||
"short",
|
||||
),
|
||||
|
|
@ -49,42 +49,38 @@ $pstruct = array(
|
|||
5,
|
||||
"short",
|
||||
"short",
|
||||
"int",
|
||||
"int",
|
||||
8,
|
||||
),
|
||||
|
||||
0x08 => array(
|
||||
"magic",
|
||||
"int",
|
||||
"int",
|
||||
8,
|
||||
5,
|
||||
"short",
|
||||
"short",
|
||||
),
|
||||
|
||||
0x09 => array(
|
||||
8,
|
||||
8,
|
||||
"byte",
|
||||
),
|
||||
|
||||
0x10 => array(
|
||||
|
||||
|
||||
),
|
||||
|
||||
0x1c => array(
|
||||
"double",
|
||||
"double",
|
||||
8,
|
||||
8,
|
||||
"magic",
|
||||
"string",
|
||||
),
|
||||
|
||||
0x1d => array(
|
||||
"double",
|
||||
"double",
|
||||
8,
|
||||
8,
|
||||
"magic",
|
||||
"string",
|
||||
),
|
||||
|
||||
0x84 => array(
|
||||
"byte",
|
||||
9,
|
||||
"int",
|
||||
"int",
|
||||
5,
|
||||
3,
|
||||
"byte",
|
||||
),
|
||||
|
||||
);
|
||||
|
|
@ -31,7 +31,8 @@ $packetName = array(
|
|||
0x06 => "ID_OPEN_CONNECTION_REPLY_1",
|
||||
0x07 => "ID_OPEN_CONNECTION_REQUEST_2",
|
||||
0x08 => "ID_OPEN_CONNECTION_REPLY_2",
|
||||
0x09 => "ID_CONNECTION_REQUEST",
|
||||
0x10 => "ID_CONNECTION_REQUEST_ACCEPTED",
|
||||
0x1c => "ID_UNCONNECTED_PONG",
|
||||
0x1d => "ID_ADVERTISE_SYSTEM",
|
||||
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue