Added entity_list::IsMobSpawnedByNpcTypeID

Exported to both lua and perl
This commit is contained in:
Michael Cook (mackal) committed 2014-02-25 23:15:14 -05:00
1 parent 746569b471
commit 970b30b467
5 files changed
+52

No files matched your search

+1
View File
@@ -135,6 +135,7 @@ public:
inline Mob *GetMobID(uint16 id) { return(GetMob(id)); } //for perl
Mob *GetMob(const char* name);
Mob *GetMobByNpcTypeID(uint32 get_id);
bool IsMobSpawnedByNpcTypeID(uint32 get_id);
Mob *GetTargetForVirus(Mob* spreader);
inline NPC *GetNPCByID(uint16 id)
{ return npc_list.count(id) ? npc_list.at(id) : nullptr; }