From 0d323563e4cc507e58ce1bb3ba632cf2310602c9 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Sun, 18 Aug 2013 13:26:37 +0200 Subject: Added cWindow property manipulation API. Now enchantment table and furnace properties can be set by a plugin --- source/Protocol/Protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Protocol/Protocol.h') diff --git a/source/Protocol/Protocol.h b/source/Protocol/Protocol.h index 5c46b2726..0953071b1 100644 --- a/source/Protocol/Protocol.h +++ b/source/Protocol/Protocol.h @@ -73,7 +73,6 @@ public: virtual void SendExplosion (double a_BlockX, double a_BlockY, double a_BlockZ, float a_Radius, const cVector3iArray & a_BlocksAffected, const Vector3d & a_PlayerMotion) = 0; virtual void SendGameMode (eGameMode a_GameMode) = 0; virtual void SendHealth (void) = 0; - virtual void SendInventoryProgress (char a_WindowID, short a_Progressbar, short a_Value) = 0; virtual void SendInventorySlot (char a_WindowID, short a_SlotNum, const cItem & a_Item) = 0; virtual void SendKeepAlive (int a_PingID) = 0; virtual void SendLogin (const cPlayer & a_Player, const cWorld & a_World) = 0; @@ -103,6 +102,7 @@ public: virtual void SendWholeInventory (const cWindow & a_Window) = 0; virtual void SendWindowClose (const cWindow & a_Window) = 0; virtual void SendWindowOpen (char a_WindowID, char a_WindowType, const AString & a_WindowTitle, char a_NumSlots) = 0; + virtual void SendWindowProperty (const cWindow & a_Window, short a_Property, short a_Value) = 0; /// Returns the ServerID used for authentication through session.minecraft.net virtual AString GetAuthServerID(void) = 0; -- cgit v1.2.3