mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
Update ProtocolInfo.php
This commit is contained in:
parent
5b7641af3d
commit
7de564eea9
1 changed files with 7 additions and 4 deletions
|
|
@ -1,8 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
abstract class ProtocolInfo{
|
abstract class ProtocolInfo{
|
||||||
|
|
||||||
const CURRENT_PROTOCOL = 18;
|
const CURRENT_PROTOCOL = 18;
|
||||||
|
|
||||||
const PING_PACKET = 0x00;
|
const PING_PACKET = 0x00;
|
||||||
|
|
@ -15,6 +13,9 @@ abstract class ProtocolInfo{
|
||||||
const CLIENT_HANDSHAKE_PACKET = 0x13;
|
const CLIENT_HANDSHAKE_PACKET = 0x13;
|
||||||
//const SERVER_FULL_PACKET = 0x14;
|
//const SERVER_FULL_PACKET = 0x14;
|
||||||
const DISCONNECT_PACKET = 0x15;
|
const DISCONNECT_PACKET = 0x15;
|
||||||
|
|
||||||
|
//const BANNED_PACKET = 0x17;
|
||||||
|
|
||||||
const LOGIN_PACKET = 0x82;
|
const LOGIN_PACKET = 0x82;
|
||||||
const LOGIN_STATUS_PACKET = 0x83;
|
const LOGIN_STATUS_PACKET = 0x83;
|
||||||
const READY_PACKET = 0x84;
|
const READY_PACKET = 0x84;
|
||||||
|
|
@ -71,6 +72,7 @@ abstract class ProtocolInfo{
|
||||||
const ENTITY_DATA_PACKET = 0xb8;
|
const ENTITY_DATA_PACKET = 0xb8;
|
||||||
const PLAYER_INPUT_PACKET = 0xb9;
|
const PLAYER_INPUT_PACKET = 0xb9;
|
||||||
//const FULL_CHUNK_DATA_PACKET = 0xba;
|
//const FULL_CHUNK_DATA_PACKET = 0xba;
|
||||||
|
//const UNLOAD_CHUNK_PACKET = 0xbb;
|
||||||
|
|
||||||
}
|
}
|
||||||
/*Unused:
|
/*Unused:
|
||||||
|
|
@ -80,6 +82,7 @@ abstract class ProtocolInfo{
|
||||||
* 0x17
|
* 0x17
|
||||||
* 0x14
|
* 0x14
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/***REM_START***/
|
/***REM_START***/
|
||||||
require_once(FILE_PATH . "src/network/raknet/RakNetDataPacket.php");
|
require_once(FILE_PATH . "src/network/raknet/RakNetDataPacket.php");
|
||||||
/***REM_END***/
|
/***REM_END***/
|
||||||
Loading…
Add table
Add a link
Reference in a new issue