From 83870f9fc0e19da646f408a2d6636adfe4b5c002 Mon Sep 17 00:00:00 2001 From: Dave Tucker Date: Mon, 23 Nov 2015 23:39:19 +0000 Subject: Add enum for Sound and Particle Effects Fixes #2603 Signed-off-by: Dave Tucker --- src/ClientHandle.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ClientHandle.h') diff --git a/src/ClientHandle.h b/src/ClientHandle.h index 32e894d41..d7468d345 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -20,6 +20,7 @@ #include "UI/SlotArea.h" #include "json/json.h" #include "ChunkSender.h" +#include "EffectID.h" #include @@ -204,7 +205,7 @@ public: // tolua_export void SendSetTitle (const cCompositeChat & a_Title); void SendSetRawTitle (const AString & a_Title); void SendSoundEffect (const AString & a_SoundName, double a_X, double a_Y, double a_Z, float a_Volume, float a_Pitch); // tolua_export - void SendSoundParticleEffect (int a_EffectID, int a_SrcX, int a_SrcY, int a_SrcZ, int a_Data); + void SendSoundParticleEffect (const EffectID a_EffectID, int a_SrcX, int a_SrcY, int a_SrcZ, int a_Data); void SendSpawnFallingBlock (const cFallingBlock & a_FallingBlock); void SendSpawnMob (const cMonster & a_Mob); void SendSpawnObject (const cEntity & a_Entity, char a_ObjectType, int a_ObjectData, Byte a_Yaw, Byte a_Pitch); -- cgit v1.2.3