summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_EntityLook.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/packets/cPacket_EntityLook.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/packets/cPacket_EntityLook.h b/source/packets/cPacket_EntityLook.h
index e1e7c1a93..407f9c1da 100644
--- a/source/packets/cPacket_EntityLook.h
+++ b/source/packets/cPacket_EntityLook.h
@@ -1,8 +1,12 @@
+
#pragma once
#include "cPacket.h"
+
+
+
class cEntity;
class cPacket_EntityLook : public cPacket
{
@@ -15,7 +19,7 @@ public:
cPacket_EntityLook(cEntity* a_Entity);
virtual cPacket* Clone() const { return new cPacket_EntityLook(*this); }
- bool Send( cSocket & a_Socket );
+ virtual void Serialize(AString & a_Data) const override;
int m_UniqueID;
char m_Rotation;
@@ -23,3 +27,7 @@ public:
static const unsigned int c_Size = 1 + 4 + 1 + 1;
};
+
+
+
+