summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-11-17 23:12:09 +0100
committerMattes D <github@xoft.cz>2013-11-17 23:12:09 +0100
commitd169a1959dc5b6faa7033c78c9afd6f4c4eae604 (patch)
tree2a233fa7dc2b9f5fd4c9a5e040850313546403e5 /source/Protocol/Protocol.h
parentLineBlockTracer: Using the coord-based block faces. (diff)
parentfix *.sdf? (diff)
downloadcuberite-d169a1959dc5b6faa7033c78c9afd6f4c4eae604.tar
cuberite-d169a1959dc5b6faa7033c78c9afd6f4c4eae604.tar.gz
cuberite-d169a1959dc5b6faa7033c78c9afd6f4c4eae604.tar.bz2
cuberite-d169a1959dc5b6faa7033c78c9afd6f4c4eae604.tar.lz
cuberite-d169a1959dc5b6faa7033c78c9afd6f4c4eae604.tar.xz
cuberite-d169a1959dc5b6faa7033c78c9afd6f4c4eae604.tar.zst
cuberite-d169a1959dc5b6faa7033c78c9afd6f4c4eae604.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 5023ea227..542060ece 100644
--- a/source/Protocol/Protocol.h
+++ b/source/Protocol/Protocol.h
@@ -22,9 +22,9 @@ class cWindow;
class cInventory;
class cPawn;
class cPickup;
+class cWorld;
class cMonster;
class cChunkDataSerializer;
-class cWorld;
class cFallingBlock;
@@ -85,6 +85,7 @@ public:
virtual void SendPlayerPosition (void) = 0;
virtual void SendPlayerSpawn (const cPlayer & a_Player) = 0;
virtual void SendRespawn (void) = 0;
+ virtual void SendExperience (void) = 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;