Added Spawn object to lua and functions to manipulate them

This commit is contained in:
KimLS
2013-06-23 14:48:36 -07:00
parent 0dc66b3dd7
commit b904689a98
11 changed files with 518 additions and 11 deletions
+3
View File
@@ -159,6 +159,8 @@ public:
Corpse* GetCorpseByDBID(uint32 dbid);
Corpse* GetCorpseByName(const char* name);
Spawn2* GetSpawnByID(uint32 id);
Client* FindCorpseDragger(const char *CorpseName);
Object* GetObjectByID(uint16 id);
@@ -393,6 +395,7 @@ public:
void GetCorpseList(std::list<Corpse*> &c_list);
void GetObjectList(std::list<Object*> &o_list);
void GetDoorsList(std::list<Doors*> &d_list);
void GetSpawnList(std::list<Spawn2*> &d_list);
void GetTargetsForConeArea(Mob *start, uint32 radius, uint32 height, std::list<Mob*> &m_list);
void DepopAll(int NPCTypeID, bool StartSpawnTimer = true);