From bc466f07a454271d4845a7e8c7f0822541c5afbd Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 20 Sep 2012 13:25:54 +0000 Subject: Refactored windows. As described on the forum: http://forum.mc-server.org/showthread.php?tid=561 For now, only basic clicking works; shift-click not implemented yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@867 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Protocol125.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/Protocol125.h') diff --git a/source/Protocol125.h b/source/Protocol125.h index 41bb8deb5..daa2a8c55 100644 --- a/source/Protocol125.h +++ b/source/Protocol125.h @@ -119,8 +119,8 @@ protected: /// Writes a "pre-chunk" packet void SendPreChunk(int a_ChunkX, int a_ChunkZ, bool a_ShouldLoad); - /// Writes a "whole inventory" packet with the specified params - void SendWholeInventory(char a_WindowID, int a_NumItems, const cItem * a_Items); + /// Writes a "set window items" packet with the specified params + void SendWindowSlots(char a_WindowID, int a_NumItems, const cItem * a_Items); /// Writes one item, "slot" as the protocol wiki calls it virtual void WriteItem(const cItem & a_Item); -- cgit v1.2.3