1
0
Fork 0

ProtoProxy: log PlayerPositionLook packet decoded data

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1260 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2013-03-05 20:49:44 +00:00
parent 06dc6ae071
commit 8758c757bd
1 changed files with 4 additions and 2 deletions

View File

@ -956,8 +956,10 @@ bool cConnection::HandleClientPlayerPositionLook(void)
HANDLE_CLIENT_PACKET_READ(ReadBEFloat, float, Pitch);
HANDLE_CLIENT_PACKET_READ(ReadChar, char, IsOnGround);
Log("Received a PACKET_PLAYER_POSITION_LOOK from the client");
// TODO: list packet contents
Log(" Pos = {%.03f, %.03f, %.03f}", PosX, PosY, PosZ);
Log(" Stance = %.03f", Stance);
Log(" Y, P = %.03f, %.03f", Yaw, Pitch);
Log(" IsOnGround = %s", IsOnGround ? "true" : "false");
COPY_TO_SERVER();
return true;