ESODecoded

EVENT_SHOW_BOOK

ESO Lua API function — used by 29 of the 3,030 addons we indexed (combined 30,052,293 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

EVENT_SHOW_BOOK(string bookTitle, string body, integer mediumId, bool showTitle, integer bookId)

Real usage — from LoreBooks

    --events
    EVENT_MANAGER:RegisterForEvent(internal.ADDON_NAME, EVENT_SHOW_BOOK, OnShowBook)
    EVENT_MANAGER:RegisterForEvent(internal.ADDON_NAME, EVENT_HIDE_BOOK, OnHideBook)

Short excerpt from the shipping addon LoreBooksits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
LoreBooks13,090,355
HarvestMap9,454,533
Lost Treasure6,404,899
PersonalAssistant (Banking, Consume, Junk, Loot, Repair, Worker) [Masteroshi430's branch]487,232
Librarian Book Manager246,299
JP Patch for Dolgubon's Lazy Writ Crafter104,292