mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 11:57:10 +00:00
72 lines
1.6 KiB
PHP
72 lines
1.6 KiB
PHP
<?php
|
|
|
|
/*
|
|
|
|
-
|
|
/ \
|
|
/ \
|
|
/ POCKET \
|
|
/ MINECRAFT PHP \
|
|
|\ @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.
|
|
|
|
|
|
*/
|
|
|
|
$dataName = array(
|
|
MC_KEEP_ALIVE => "KeepAlive",
|
|
|
|
MC_CLIENT_CONNECT => "ClientConnect",
|
|
MC_SERVER_HANDSHAKE => "ServerHandshake",
|
|
|
|
MC_CLIENT_HANDSHAKE => "ClientHandshake",
|
|
|
|
MC_CLIENT_DISCONNECT => "ClientDisconnect",
|
|
|
|
0x18 => "Unknown",
|
|
|
|
MC_LOGIN => "Login",
|
|
MC_LOGIN_STATUS => "LoginStatus",
|
|
MC_READY => "Ready",
|
|
MC_CHAT => "Chat",
|
|
MC_SET_TIME => "SetTime",
|
|
MC_START_GAME => "StartGame",
|
|
|
|
MC_ADD_PLAYER => "AddPlayer",
|
|
|
|
MC_REMOVE_ENTITY => "RemoveEntity",
|
|
|
|
MC_MOVE_ENTITY_POSROT => "MoveEntity_PosRot",
|
|
MC_MOVE_PLAYER => "MovePlayer",
|
|
MC_PLACE_BLOCK => "PlaceBlock",
|
|
MC_REMOVE_BLOCK => "RemoveBlock",
|
|
|
|
MC_REQUEST_CHUNK => "RequestChunk",
|
|
|
|
MC_PLAYER_EQUIPMENT => "PlayerEquipment",
|
|
|
|
MC_USE_ITEM => "UseItem",
|
|
MC_PLAYER_ACTION => "PlayerAction",
|
|
MC_SET_ENTITY_DATA => "SetEntityData",
|
|
MC_SET_ENTITY_MOTION => "SetEntityMotion",
|
|
MC_SET_HEALTH => "SetHealth",
|
|
MC_SET_SPAWN_POSITION => "SetSpawnPosition",
|
|
MC_ANIMATE => "Animate",
|
|
MC_RESPAWN => "Respawn",
|
|
|
|
MC_CLIENT_MESSAGE => "ClientMessage",
|
|
MC_SIGN_UPDATE => "SignUpdate",
|
|
MC_ADVENTURE_SETTINGS => "AdventureSettings",
|
|
); |