Added direct inventory access, and event_loot for items and event_weapon_proc for items

This commit is contained in:
KimLS
2013-06-20 14:03:22 -07:00
parent d8a1d84a49
commit 7b894a7c61
21 changed files with 483 additions and 88 deletions
+2 -1
View File
@@ -7,6 +7,7 @@
class Client;
class Lua_Group;
class Lua_Raid;
class Lua_Inventory;
namespace luabind {
struct scope;
@@ -202,7 +203,6 @@ public:
int GetLDoNLosses();
int GetLDoNWinsTheme(int theme);
int GetLDoNLossesTheme(int theme);
Lua_ItemInst GetItemAt(int slot);
int GetStartZone();
void SetStartZone(int zone_id);
void SetStartZone(int zone_id, float x);
@@ -260,6 +260,7 @@ public:
Lua_Raid GetRaid();
bool PutItemInInventory(int slot_id, Lua_ItemInst inst);
bool PushItemOnCursor(Lua_ItemInst inst);
Lua_Inventory GetInventory();
};
#endif