diff options
Diffstat (limited to 'source/cClientHandle.h')
-rw-r--r-- | source/cClientHandle.h | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/source/cClientHandle.h b/source/cClientHandle.h index 4668a2aa8..78c6a1289 100644 --- a/source/cClientHandle.h +++ b/source/cClientHandle.h @@ -75,44 +75,44 @@ public: bool IsPlaying(void) const {return (m_State == csPlaying); } - void SendDisconnect(const AString & a_Reason); - void SendInventorySlot(char a_WindowID, short a_SlotNum, const cItem & a_Item); - void SendChat(const AString & a_Message); - void SendPlayerAnimation(const cPlayer & a_Player, char a_Animation); - void SendEntityEquipment(const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item); - void SendWindowOpen(char a_WindowID, char a_WindowType, const AString & a_WindowTitle, char a_NumSlots); - void SendWindowClose(char a_WindowID); - void SendWholeInventory(const cInventory & a_Inventory); - void SendWholeInventory(const cWindow & a_Window); - void SendTeleportEntity(const cEntity & a_Entity); - void SendPlayerListItem(const cPlayer & a_Player, bool a_IsOnline); - void SendPlayerPosition(void); - void SendEntRelMoveLook(const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ); - void SendEntRelMove (const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ); - void SendEntLook (const cEntity & a_Entity); - void SendEntHeadLook (const cEntity & a_Entity); - void SendBlockAction (int a_BlockX, int a_BlockY, int a_BlockZ, char a_Byte1, char a_Byte2, BLOCKTYPE a_BlockType); - void SendHealth (void); - void SendRespawn(void); - void SendGameMode(eGameMode a_GameMode); - void SendDestroyEntity(const cEntity & a_Entity); - void SendPlayerMoveLook(void); - void SendEntityStatus(const cEntity & a_Entity, char a_Status); - void SendMetadata(const cPawn & a_Entity); + void SendBlockAction (int a_BlockX, int a_BlockY, int a_BlockZ, char a_Byte1, char a_Byte2, BLOCKTYPE a_BlockType); + void SendBlockChange (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta); + void SendBlockChanges (int a_ChunkX, int a_ChunkZ, const sSetBlockVector & a_Changes); + void SendChat (const AString & a_Message); + void SendChunkData (int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer); + void SendCollectPickup (const cPickup & a_Pickup, const cPlayer & a_Player); + void SendDestroyEntity (const cEntity & a_Entity); + void SendDisconnect (const AString & a_Reason); + void SendEntHeadLook (const cEntity & a_Entity); + void SendEntLook (const cEntity & a_Entity); + void SendEntRelMove (const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ); + void SendEntRelMoveLook (const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ); + void SendEntityEquipment (const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item); + void SendEntityStatus (const cEntity & a_Entity, char a_Status); + void SendGameMode (eGameMode a_GameMode); + void SendHealth (void); void SendInventoryProgress(char a_WindowID, short a_Progressbar, short a_Value); - void SendPlayerSpawn(const cPlayer & a_Player); - void SendPickupSpawn(const cPickup & a_Pickup); - void SendSpawnMob (const cMonster & a_Mob); - void SendUpdateSign (int a_BlockX, int a_BlockY, int a_BlockZ, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4); - void SendCollectPickup(const cPickup & a_Pickup, const cPlayer & a_Player); - void SendBlockChange(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta); - void SendBlockChanges(int a_ChunkX, int a_ChunkZ, const sSetBlockVector & a_Changes); - void SendUnloadChunk(int a_ChunkX, int a_ChunkZ); - void SendWeather(eWeather a_Weather); - void SendTimeUpdate(Int64 a_WorldTime); - void SendThunderbolt(int a_BlockX, int a_BlockY, int a_BlockZ); - 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 SendChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer); + void SendInventorySlot (char a_WindowID, short a_SlotNum, const cItem & a_Item); + void SendMetadata (const cPawn & a_Entity); + void SendPickupSpawn (const cPickup & a_Pickup); + void SendPlayerAnimation (const cPlayer & a_Player, char a_Animation); + void SendPlayerListItem (const cPlayer & a_Player, bool a_IsOnline); + void SendPlayerMoveLook (void); + void SendPlayerPosition (void); + void SendPlayerSpawn (const cPlayer & a_Player); + void SendRespawn (void); + 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 SendSpawnMob (const cMonster & a_Mob); + void SendTeleportEntity (const cEntity & a_Entity); + void SendThunderbolt (int a_BlockX, int a_BlockY, int a_BlockZ); + void SendTimeUpdate (Int64 a_WorldTime); + void SendUnloadChunk (int a_ChunkX, int a_ChunkZ); + void SendUpdateSign (int a_BlockX, int a_BlockY, int a_BlockZ, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4); + void SendWeather (eWeather a_Weather); + void SendWholeInventory (const cInventory & a_Inventory); + void SendWholeInventory (const cWindow & a_Window); + void SendWindowClose (char a_WindowID); + void SendWindowOpen (char a_WindowID, char a_WindowType, const AString & a_WindowTitle, char a_NumSlots); const AString & GetUsername(void) const; //tolua_export |