diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-23 18:25:32 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-23 18:25:32 +0200 |
commit | 578c9c4694344cb6e7c0e820f0687c98d3d5402d (patch) | |
tree | 75ff7f9edbe6c3d43b6e349639d9bfb7f159504e /source/cClientHandle.h | |
parent | Fixed entity equipment packet in the 1.3.2 protocol. (diff) | |
download | cuberite-578c9c4694344cb6e7c0e820f0687c98d3d5402d.tar cuberite-578c9c4694344cb6e7c0e820f0687c98d3d5402d.tar.gz cuberite-578c9c4694344cb6e7c0e820f0687c98d3d5402d.tar.bz2 cuberite-578c9c4694344cb6e7c0e820f0687c98d3d5402d.tar.lz cuberite-578c9c4694344cb6e7c0e820f0687c98d3d5402d.tar.xz cuberite-578c9c4694344cb6e7c0e820f0687c98d3d5402d.tar.zst cuberite-578c9c4694344cb6e7c0e820f0687c98d3d5402d.zip |
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 |