From f1d62b77cd1f9eb31cf508ee5eb54e09b9ca10e5 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 29 Aug 2012 21:02:39 +0000 Subject: Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself. git-svn-id: http://mc-server.googlecode.com/svn/trunk@802 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Protocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/Protocol.h') diff --git a/source/Protocol.h b/source/Protocol.h index ee0ccddfd..1b313ce09 100644 --- a/source/Protocol.h +++ b/source/Protocol.h @@ -53,6 +53,8 @@ public: virtual void SendEntLook (const cEntity & a_Entity) = 0; virtual void SendEntityEquipment (const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item) = 0; virtual void SendEntityStatus (const cEntity & a_Entity, char a_Status) = 0; + virtual void SendEntRelMove (const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ) = 0; + virtual void SendEntRelMoveLook (const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ) = 0; virtual void SendGameMode (eGameMode a_GameMode) = 0; virtual void SendHandshake (const AString & a_ServerName) = 0; virtual void SendHealth (void) = 0; @@ -67,8 +69,6 @@ public: virtual void SendPlayerMoveLook (void) = 0; virtual void SendPlayerPosition (void) = 0; virtual void SendPlayerSpawn (const cPlayer & a_Player) = 0; - virtual void SendRelEntMove (const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ) = 0; - virtual void SendRelEntMoveLook (const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ) = 0; virtual void SendRespawn (void) = 0; virtual void SendSpawnMob (const cMonster & a_Mob) = 0; virtual void SendTeleportEntity (const cEntity & a_Entity) = 0; -- cgit v1.2.3