[Quest API] Add client->ReadBookByName(book_name, book_type) to Perl/Lua.

- Add $client->ReadBookByName(booK_name, book_type) to Perl.
- Add client:ReadBookByName(booK_name, book_type) to Lua.
- Allows server operators to put books in to their database and read from their database instead of storing the values in a script, also allows them to read pre-existing books using a script.
This commit is contained in:
Kinglykrab
2021-10-02 13:09:30 -04:00
committed by GitHub
parent ff46a854f9
commit 93acf50bb4
5 changed files with 51 additions and 0 deletions
+1
View File
@@ -273,6 +273,7 @@ public:
uint32 GetRadiantCrystals();
uint32 GetEbonCrystals();
void QuestReadBook(const char *text, int type);
void ReadBookByName(std::string book_name, uint8 book_type);
void UpdateGroupAAs(int points, uint32 type);
uint32 GetGroupPoints();
uint32 GetRaidPoints();