[Quest API] Add Bot::Camp() to Perl/Lua. (#2718)

# Perl
- Add `$bot->Camp()`.
- Add `$bot->Camp(save_to_database)`.

# Lua
- Add `bot:Camp()`.
- Add `bot:Camp(save_to_database)`.

# Notes
- Saves to database by default, overload is for edge case where a user may not want bot to save to database.
This commit is contained in:
Alex King
2023-01-10 21:44:55 -05:00
committed by GitHub
parent 09d1dc6a24
commit 4df9fa89bc
5 changed files with 32 additions and 9 deletions
+2
View File
@@ -56,6 +56,8 @@ public:
void SendPayload(int payload_id);
void SendPayload(int payload_id, std::string payload_value);
uint32 GetBotID();
void Camp();
void Camp(bool save_to_database);
void ApplySpell(int spell_id);
void ApplySpell(int spell_id, int duration);