diff options
author | madmaxoft <github@xoft.cz> | 2013-08-18 13:26:37 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-18 13:26:37 +0200 |
commit | 0d323563e4cc507e58ce1bb3ba632cf2310602c9 (patch) | |
tree | 0e06074b10344f81c823f4572f5a7035c68f04ff /source/ClientHandle.cpp | |
parent | cListenThread correctly closes all sockets. (diff) | |
download | cuberite-0d323563e4cc507e58ce1bb3ba632cf2310602c9.tar cuberite-0d323563e4cc507e58ce1bb3ba632cf2310602c9.tar.gz cuberite-0d323563e4cc507e58ce1bb3ba632cf2310602c9.tar.bz2 cuberite-0d323563e4cc507e58ce1bb3ba632cf2310602c9.tar.lz cuberite-0d323563e4cc507e58ce1bb3ba632cf2310602c9.tar.xz cuberite-0d323563e4cc507e58ce1bb3ba632cf2310602c9.tar.zst cuberite-0d323563e4cc507e58ce1bb3ba632cf2310602c9.zip |
Diffstat (limited to '')
-rw-r--r-- | source/ClientHandle.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp index dce2bbd25..4372d052c 100644 --- a/source/ClientHandle.cpp +++ b/source/ClientHandle.cpp @@ -1718,15 +1718,6 @@ void cClientHandle::SendHealth(void) -void cClientHandle::SendInventoryProgress(char a_WindowID, short a_ProgressBar, short a_Value) -{ - m_Protocol->SendInventoryProgress(a_WindowID, a_ProgressBar, a_Value); -} - - - - - void cClientHandle::SendInventorySlot(char a_WindowID, short a_SlotNum, const cItem & a_Item) { m_Protocol->SendInventorySlot(a_WindowID, a_SlotNum, a_Item); @@ -1954,36 +1945,45 @@ void cClientHandle::SendWeather(eWeather a_Weather) -void cClientHandle::SendWindowClose(const cWindow & a_Window) +void cClientHandle::SendWholeInventory(const cInventory & a_Inventory) { - m_Protocol->SendWindowClose(a_Window); + m_Protocol->SendWholeInventory(a_Inventory); } -void cClientHandle::SendWindowOpen(char a_WindowID, char a_WindowType, const AString & a_WindowTitle, char a_NumSlots) +void cClientHandle::SendWholeInventory(const cWindow & a_Window) { - m_Protocol->SendWindowOpen(a_WindowID, a_WindowType, a_WindowTitle, a_NumSlots); + m_Protocol->SendWholeInventory(a_Window); } -void cClientHandle::SendWholeInventory(const cInventory & a_Inventory) +void cClientHandle::SendWindowClose(const cWindow & a_Window) { - m_Protocol->SendWholeInventory(a_Inventory); + m_Protocol->SendWindowClose(a_Window); } -void cClientHandle::SendWholeInventory(const cWindow & a_Window) +void cClientHandle::SendWindowOpen(char a_WindowID, char a_WindowType, const AString & a_WindowTitle, char a_NumSlots) { - m_Protocol->SendWholeInventory(a_Window); + m_Protocol->SendWindowOpen(a_WindowID, a_WindowType, a_WindowTitle, a_NumSlots); +} + + + + + +void cClientHandle::SendWindowProperty(const cWindow & a_Window, int a_Property, int a_Value) +{ + m_Protocol->SendWindowProperty(a_Window, a_Property, a_Value); } |