[Quest API] Add GetBotListByClientName() Class Overload to Perl/Lua. (#2577)

# Perl
- Add `$entity_list->GetBotListByClientName(client_name, class_id)`.

# Lua
- Add `eq.get_entity_list():GetBotListByClientName(client_name, class_id)`.

# Notes
- Adds overload to get bots by client name and class ID.
This commit is contained in:
Alex King
2022-11-26 15:47:45 -05:00
committed by GitHub
parent 25f8ee2084
commit 290ebf3b26
5 changed files with 33 additions and 4 deletions
+1
View File
@@ -137,6 +137,7 @@ public:
Lua_Bot_List GetBotListByCharacterID(uint32 character_id);
Lua_Bot_List GetBotListByCharacterID(uint32 character_id, uint8 class_id);
Lua_Bot_List GetBotListByClientName(std::string client_name);
Lua_Bot_List GetBotListByClientName(std::string client_name, uint8 class_id);
Lua_Bot GetRandomBot();
Lua_Bot GetRandomBot(float x, float y, float z, float distance);
Lua_Bot GetRandomBot(float x, float y, float z, float distance, Lua_Bot exclude_bot);