mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-30 17:58:16 +00:00
encounter events can now watch all events by all npcs/items/quests by registering themselves to watch -1, fix #74
This commit is contained in:
@@ -22,6 +22,8 @@ public:
|
||||
Lua_ItemInst() : Lua_Ptr(nullptr), cloned_(false) { }
|
||||
Lua_ItemInst(ItemInst *d) : Lua_Ptr(d), cloned_(false) { }
|
||||
Lua_ItemInst(ItemInst *d, bool cloned) : Lua_Ptr(d), cloned_(cloned) { }
|
||||
Lua_ItemInst& operator=(const Lua_ItemInst& o);
|
||||
Lua_ItemInst(const Lua_ItemInst& o);
|
||||
virtual ~Lua_ItemInst() { if(cloned_) { ItemInst *ptr = GetLuaPtrData(); if(ptr) { delete ptr; } } }
|
||||
|
||||
operator ItemInst*() {
|
||||
|
||||
Reference in New Issue
Block a user