Added lots of new events, enabled old features

This commit is contained in:
Shoghi Cervantes
2014-06-05 01:05:52 +02:00
parent 2b73da5412
commit 596f4ddb0e
10 changed files with 166 additions and 292 deletions

View File

@ -25,7 +25,7 @@
namespace pocketmine\network\protocol;
abstract class Info{
interface Info{
/**
* Actual Minecraft: PE protocol version
@ -33,20 +33,6 @@ abstract class Info{
const CURRENT_PROTOCOL = 14;
const PING_PACKET = 0x00;
const PONG_PACKET = 0x03;
const CLIENT_CONNECT_PACKET = 0x09;
const SERVER_HANDSHAKE_PACKET = 0x10;
const CLIENT_HANDSHAKE_PACKET = 0x13;
//const SERVER_FULL_PACKET = 0x14;
const DISCONNECT_PACKET = 0x15;
//const BANNED_PACKET = 0x17;
const LOGIN_PACKET = 0x82;
const LOGIN_STATUS_PACKET = 0x83;
const READY_PACKET = 0x84;