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:
parent
06dc6ae071
commit
8758c757bd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user