summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-12-26 10:12:00 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-12-26 10:12:00 +0100
commit17a2c1b3886ed38b3e5e93238029476866b8c220 (patch)
treee4c4c335456e5d77cd986094ebd0fd4ebe359733 /source/ClientHandle.h
parentProtoProxy: more 1.4.6 stuff, now the connection holds stable with the 1.4.6 client. (diff)
downloadcuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.tar
cuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.tar.gz
cuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.tar.bz2
cuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.tar.lz
cuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.tar.xz
cuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.tar.zst
cuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.zip
Diffstat (limited to 'source/ClientHandle.h')
-rw-r--r--source/ClientHandle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/ClientHandle.h b/source/ClientHandle.h
index 03367ebac..cf02bd107 100644
--- a/source/ClientHandle.h
+++ b/source/ClientHandle.h
@@ -30,6 +30,7 @@ class cPlayer;
class cProtocol;
class cRedstone;
class cWindow;
+class cFallingBlock;
@@ -109,7 +110,9 @@ public:
void SendSoundEffect (const AString & a_SoundName, int a_SrcX, int a_SrcY, int a_SrcZ, float a_Volume, float a_Pitch); // a_Src coords are Block * 8
void SendSoundParticleEffect(int a_EffectID, int a_SrcX, int a_SrcY, int a_SrcZ, int a_Data);
void SendBlockBreakAnim (int a_entityID, int a_blockX, int a_blockY, int a_blockZ, char a_stage);
+ void SendSpawnFallingBlock (const cFallingBlock & a_FallingBlock);
void SendSpawnMob (const cMonster & a_Mob);
+ void SendSpawnObject (const cEntity & a_Entity, char a_ObjectType, int a_ObjectData, short a_SpeedX, short a_SpeedY, short a_SpeedZ, Byte a_Yaw, Byte a_Pitch);
void SendTeleportEntity (const cEntity & a_Entity);
void SendThunderbolt (int a_BlockX, int a_BlockY, int a_BlockZ);
void SendTimeUpdate (Int64 a_WorldAge, Int64 a_TimeOfDay);
@@ -121,7 +124,6 @@ public:
void SendWindowClose (char a_WindowID);
void SendWindowOpen (char a_WindowID, char a_WindowType, const AString & a_WindowTitle, char a_NumSlots);
void SendUseBed (const cEntity & a_Entity, int a_BlockX, int a_BlockY, int a_BlockZ );
- void SendSpawnObject (const cEntity & a_Entity, char a_ObjectType, int a_ObjectData, short a_SpeedX, short a_SpeedY, short a_SpeedZ, Byte a_Yaw, Byte a_Pitch);
const AString & GetUsername(void) const; //tolua_export
void SetUsername( const AString & a_Username ); //tolua_export