diff options
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); } |