summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-11-25 21:43:43 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-11-25 21:43:43 +0100
commit18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1 (patch)
treeeb095118736e4c61c93e309dbc560cae56aad134 /source/Protocol/Protocol.h
parentAdded cWorld::SpawnExperienceOrb function. (diff)
downloadcuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.tar
cuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.tar.gz
cuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.tar.bz2
cuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.tar.lz
cuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.tar.xz
cuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.tar.zst
cuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.zip
Diffstat (limited to 'source/Protocol/Protocol.h')
-rw-r--r--source/Protocol/Protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Protocol/Protocol.h b/source/Protocol/Protocol.h
index 18cf3676a..9d8183361 100644
--- a/source/Protocol/Protocol.h
+++ b/source/Protocol/Protocol.h
@@ -16,6 +16,7 @@
+class cExpOrb;
class cPlayer;
class cEntity;
class cWindow;
@@ -86,7 +87,7 @@ public:
virtual void SendPlayerSpawn (const cPlayer & a_Player) = 0;
virtual void SendRespawn (void) = 0;
virtual void SendExperience (void) = 0;
- virtual void SendExperienceOrb (const cEntity & a_Entity) = 0;
+ virtual void SendExperienceOrb (const cExpOrb & a_ExpOrb) = 0;
virtual void SendSoundEffect (const AString & a_SoundName, int a_SrcX, int a_SrcY, int a_SrcZ, float a_Volume, float a_Pitch) = 0; // a_Src coords are Block * 8
virtual void SendSoundParticleEffect (int a_EffectID, int a_SrcX, int a_SrcY, int a_SrcZ, int a_Data) = 0;
virtual void SendSpawnFallingBlock (const cFallingBlock & a_FallingBlock) = 0;