[Quest API] Add HasBotSpellEntry() to Perl/Lua. (#2563)

* [Bots] Quest API Check Spell in Bot_Spell_Entries

* Add to luabind and packages

* Change Method to be HasBotSpellEntry, change SpellID to uint16

* Ordering, and removed unused logging
This commit is contained in:
Aeadoin
2022-11-24 22:29:38 -05:00
committed by GitHub
parent 52e1bc943a
commit 45c4fe55f0
5 changed files with 54 additions and 20 deletions
+3
View File
@@ -557,6 +557,9 @@ public:
inline InspectMessage_Struct& GetInspectMessage() { return _botInspectMessage; }
inline const InspectMessage_Struct& GetInspectMessage() const { return _botInspectMessage; }
// "Quest API" Methods
bool HasBotSpellEntry(uint16 spellid);
// "SET" Class Methods
void SetBotSpellID(uint32 newSpellID);
virtual void SetSpawnStatus(bool spawnStatus) { _spawnStatus = spawnStatus; }