Add GetNPCBySpawnID() to Perl/Lua.

This commit is contained in:
Alex
2020-05-07 23:05:07 -04:00
parent 954247956e
commit 0b03f27660
5 changed files with 53 additions and 0 deletions
+1
View File
@@ -166,6 +166,7 @@ public:
return nullptr;
}
NPC *GetNPCByNPCTypeID(uint32 npc_id);
NPC *GetNPCBySpawnID(uint32 spawn_id);
inline Merc *GetMercByID(uint16 id)
{
auto it = merc_list.find(id);