From 57834374363965198f8870c9f11111d7c8a12d7f Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 24 Mar 2012 13:28:53 +0000 Subject: Added the new 1.2.4's PlayerAbilities packet; restructures packet files for less files, more dense. git-svn-id: http://mc-server.googlecode.com/svn/trunk@431 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/packets/cPacket_PlayerLook.h | 39 ------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 source/packets/cPacket_PlayerLook.h (limited to 'source/packets/cPacket_PlayerLook.h') diff --git a/source/packets/cPacket_PlayerLook.h b/source/packets/cPacket_PlayerLook.h deleted file mode 100644 index aed8a954d..000000000 --- a/source/packets/cPacket_PlayerLook.h +++ /dev/null @@ -1,39 +0,0 @@ - -#pragma once - -#include "cPacket.h" - - - - - -class cPlayer; - - - - - -class cPacket_PlayerLook : public cPacket -{ -public: - cPacket_PlayerLook() - : m_Rotation( 0 ) - , m_Pitch( 0 ) - , m_bFlying( false ) - { m_PacketID = E_PLAYERLOOK; } - cPacket_PlayerLook( cPlayer* a_Player ); - virtual cPacket* Clone() const { return new cPacket_PlayerLook(*this); } - - virtual int Parse(const char * a_Data, int a_Size) override; - virtual void Serialize(AString & a_Data) const override; - - float m_Rotation; - float m_Pitch; - bool m_bFlying; // Yeah.. wtf - - static const unsigned int c_Size = 10; -}; - - - - -- cgit v1.2.3