Updated API for Firesong (101036)
Orionik [11-02-22 - 01:24]
Updated API for Firesong (101036)
diff --git a/API.lua b/API.lua
index 127ccc3..ab78a7e 100644
--- a/API.lua
+++ b/API.lua
@@ -16,7 +16,7 @@ LIBRARIAN:RegisterNewCategory(name, totalBooks, GetBookInfo, OpenCategory)
- totalBooks (*integer*) : Total number of books in the category. Will be used when initializing Librarian with all the known book of your addon.
If you want to disable this feature you can give 0 and the rest of the addon should still work)
- GetBookInfo (*function*) : It is the main function that will be used to retrieve data for a book
- The bookIndex is an index starting from 1 to the total number of book or the maximum bookIndex received byt the OnBookDisplayed function (it can't be more than 10000 though)
+ The bookIndex is an index starting from 1 to the total number of book or the maximum bookIndex received by the OnBookDisplayed function (it can't be more than 10000 though)
Prototype:
* GetBookInfo(*integer* bookIndex)
** _Returns:_ *string* _title_, *bool* _known_, *string* _body_, *[BookMedium|#BookMedium]* _medium_, *bool* _showTitle_
diff --git a/CHANGELOG b/CHANGELOG
index ef6b3c9..19dc1be 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,9 @@
-------------------------------------------------------------------------------
Librarian v3.0 2022-07-25
-------------------------------------------------------------------------------
+3.6 2022-11-02
+- Updated API for Firesong (101036)
+
3.5 2022-10-03
- Add API for external addon to be able to register their own books to Librarian
diff --git a/Librarian.txt b/Librarian.txt
index 06aa0c9..a44907c 100644
--- a/Librarian.txt
+++ b/Librarian.txt
@@ -1,7 +1,7 @@
## Title: Librarian
## Author: Orionik, |c4EFFF6Calia1120|r, Flamage
## Version: 1.0
-## APIVersion: 101035
+## APIVersion: 101036
## SavedVariables: Librarian_SavedVariables Librarian_SavedVariables_Backup
## DependsOn: LibAddonMenu-2.0 LibrarianDeprecation