mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 04:17:07 +00:00
43 lines
1.2 KiB
PHP
43 lines
1.2 KiB
PHP
<?php
|
|
|
|
/*
|
|
|
|
-
|
|
/ \
|
|
/ \
|
|
/ PocketMine \
|
|
/ MP \
|
|
|\ @shoghicp /|
|
|
|. \ / .|
|
|
| .. \ / .. |
|
|
| .. | .. |
|
|
| .. | .. |
|
|
\ | /
|
|
\ | /
|
|
\ | /
|
|
\ | /
|
|
|
|
This program 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.
|
|
|
|
|
|
*/
|
|
|
|
$packetName = array(
|
|
0x02 => "ID_UNCONNECTED_PING_OPEN_CONNECTIONS", //RakNet
|
|
0x05 => "ID_OPEN_CONNECTION_REQUEST_1", //RakNet
|
|
0x06 => "ID_OPEN_CONNECTION_REPLY_1", //RakNet
|
|
0x07 => "ID_OPEN_CONNECTION_REQUEST_2", //RakNet
|
|
0x08 => "ID_OPEN_CONNECTION_REPLY_2", //RakNet
|
|
0x1a => "ID_INCOMPATIBLE_PROTOCOL_VERSION", //RakNet
|
|
0x1c => "ID_UNCONNECTED_PONG", //RakNet
|
|
0x1d => "ID_ADVERTISE_SYSTEM", //RakNet
|
|
0x80 => "Custom Packet", //Minecraft Implementation
|
|
0x84 => "Custom Packet", //Minecraft Implementation
|
|
0x88 => "Custom Packet", //Minecraft Implementation
|
|
0x8c => "Custom Packet", //Minecraft Implementation
|
|
0xa0 => "NACK", //Minecraft Implementation
|
|
0xc0 => "ACK", //Minecraft Implementation
|
|
); |