summaryrefslogtreecommitdiffstats
path: root/source/Protocol.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-02 14:09:58 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-02 14:09:58 +0200
commitc7d5c00a17c8e4d79f6b0e855d88cc42876f63a9 (patch)
treeb45b5dc8f89d105cef77c8cb5b8f4be270e903fd /source/Protocol.h
parentAdded a CreateHexDump() function for easier raw data debugging (diff)
downloadcuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.gz
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.bz2
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.lz
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.xz
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.zst
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.zip
Diffstat (limited to '')
-rw-r--r--source/Protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Protocol.h b/source/Protocol.h
index f3e688afb..e01afa9cc 100644
--- a/source/Protocol.h
+++ b/source/Protocol.h
@@ -24,6 +24,7 @@ class cPawn;
class cPickup;
class cMonster;
class cChunkDataSerializer;
+class cWorld;
@@ -60,7 +61,7 @@ public:
virtual void SendInventoryProgress(char a_WindowID, short a_Progressbar, short a_Value) = 0;
virtual void SendInventorySlot (char a_WindowID, short a_SlotNum, const cItem & a_Item) = 0;
virtual void SendKeepAlive (int a_PingID) = 0;
- virtual void SendLogin (const cPlayer & a_Player) = 0;
+ virtual void SendLogin (const cPlayer & a_Player, const cWorld & a_World) = 0;
virtual void SendMetadata (const cEntity & a_Entity) = 0;
virtual void SendPickupSpawn (const cPickup & a_Pickup) = 0;
virtual void SendPlayerAnimation (const cPlayer & a_Player, char a_Animation) = 0;