mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
[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:
+1
-1
@@ -551,7 +551,7 @@ public:
|
||||
#ifdef BOTS
|
||||
inline const std::list<Bot *> &GetBotList() { return bot_list; }
|
||||
std::vector<Bot *> GetBotListByCharacterID(uint32 character_id, uint8 class_id = 0);
|
||||
std::vector<Bot *> GetBotListByClientName(std::string client_name);
|
||||
std::vector<Bot *> GetBotListByClientName(std::string client_name, uint8 class_id = 0);
|
||||
void SignalAllBotsByOwnerCharacterID(uint32 character_id, int signal_id);
|
||||
void SignalBotByBotID(uint32 bot_id, int signal_id);
|
||||
void SignalBotByBotName(std::string bot_name, int signal_id);
|
||||
|
||||
Reference in New Issue
Block a user