Lua API
On this page

Writing_BookOpen_S2C

Inherits from

Sent when you first open a book, contains the entire table of contents.

Fields:

Inscription string

The inscription comment and the book title.

MaxNumPages number

The total number of pages in the book.

ObjectId number

The readable object you have just opened.

PageData PageDataList

The set of page data

ScribeId number

The author of the inscription (and not coincidentally, the book title).

ScribeName string

The name of the inscription author.

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string