diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-18 12:38:15 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-18 12:38:15 +0200 |
commit | 1b5eaa92b562c09ed7cea4de7186ff6541e65e5f (patch) | |
tree | 7e196c6021c1777d25ad4d79bb6530fd933a65d4 /source/cClientHandle.h | |
parent | Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects. (diff) | |
download | cuberite-1b5eaa92b562c09ed7cea4de7186ff6541e65e5f.tar cuberite-1b5eaa92b562c09ed7cea4de7186ff6541e65e5f.tar.gz cuberite-1b5eaa92b562c09ed7cea4de7186ff6541e65e5f.tar.bz2 cuberite-1b5eaa92b562c09ed7cea4de7186ff6541e65e5f.tar.lz cuberite-1b5eaa92b562c09ed7cea4de7186ff6541e65e5f.tar.xz cuberite-1b5eaa92b562c09ed7cea4de7186ff6541e65e5f.tar.zst cuberite-1b5eaa92b562c09ed7cea4de7186ff6541e65e5f.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cClientHandle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cClientHandle.h b/source/cClientHandle.h index 1085f4695..cf47dd720 100644 --- a/source/cClientHandle.h +++ b/source/cClientHandle.h @@ -105,6 +105,7 @@ public: void SendDisconnect(const AString & a_Reason); void SendHandshake (const AString & a_ServerName); void SendInventorySlot(int a_WindowID, short a_SlotNum, const cItem & a_Item); + void SendChat(const AString & a_Message); const AString & GetUsername(void) const; //tolua_export @@ -196,8 +197,7 @@ private: void HandlePlayerPos (double a_PosX, double a_PosY, double a_PosZ, double a_Stance, bool a_IsOnGround); void HandleBlockDig (int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status); void HandleBlockPlace (int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, const cItem & a_HeldItem); - void HandlePickupSpawn (cPacket_PickupSpawn * a_Packet); - void HandleChat (cPacket_Chat * a_Packet); + void HandleChat (const AString & a_Message); void HandlePlayerLook (cPacket_PlayerLook * a_Packet); void HandlePlayerMoveLook (cPacket_PlayerMoveLook * a_Packet); // While m_bPositionConfirmed (normal gameplay) void HandleAnimation (cPacket_ArmAnim * a_Packet); |