Back to Home

ESO Lua File v101044

ingame/lorelibrary/lorelibrary_shared.lua

[◄ back to folders ]
1
2
3
4
5
6
7
8
9
10
11
12
function ZO_LoreLibrary_ReadBook(categoryIndex, collectionIndex, bookIndex)
    local title, _, _, bookId = GetLoreBookInfo(categoryIndex, collectionIndex, bookIndex)
    local body, medium, showTitle = ReadLoreBook(categoryIndex, collectionIndex, bookIndex)
    local overrideImage, overrideImageTitlePosition = GetLoreBookOverrideImageFromBookId(bookId)
    LORE_READER:Show(title, body, medium, showTitle, overrideImage, overrideImageTitlePosition)
end
function ZO_LoreLibrary_ReadHirelingCorrespondence(hirelingType, index)
    local SHOW_TITLE = false
    local _, subject, message = GetHirelingCorrespondenceInfoByIndex(hirelingType, index)
    LORE_READER:Show(subject, message, BOOK_MEDIUM_LETTER, SHOW_TITLE)
end