diff options
author | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-01 19:45:28 +0100 |
---|---|---|
committer | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-01 19:45:28 +0100 |
commit | ac63775297cffb56b05702c0a3c6575f1bcd7d3b (patch) | |
tree | 9a5355be1d74a613a71ca43e2b85d53688eb6de2 /source/cInventory.h | |
parent | Fixed the numchunks console command. (diff) | |
download | cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.gz cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.bz2 cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.lz cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.xz cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.zst cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.zip |
Diffstat (limited to 'source/cInventory.h')
-rw-r--r-- | source/cInventory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/cInventory.h b/source/cInventory.h index 849cfb440..8d4b13fcb 100644 --- a/source/cInventory.h +++ b/source/cInventory.h @@ -15,6 +15,7 @@ class cPlayer; class cPacket;
class cPacket_EntityEquipment;
class cInventory //tolua_export
+ : public cWindowOwner
{ //tolua_export
public:
cInventory(cPlayer* a_Owner);
@@ -39,6 +40,7 @@ public: cItem & GetEquippedItem(); //tolua_export
void SetEquippedSlot( int a_SlotNum ); //tolua_export
+ short GetEquippedSlot() { return m_EquippedSlot; } //tolua_export
virtual void Clicked( cPacket* a_ClickPacket ) = 0;
|