API Docs for:
Show:

RecordManager Class

Module: gs

Manages the game's database and gives access to all data-records.

Methods

initialize

()

Initializes RecordManager and all loaded data-record documents for use. Needs to be called before RecordManager can be used.

load

()

Loads all data-record documents.

translate

()

Translates all localizable fields for each data-record.

Properties

collectionDocuments

gs.Document[]

Stores all data-record documents by category > id.

documents

gs.Document

Stores all data-record documents

initialized

Boolean

Indicates if all data-records are loaded and initialized.

localizableStrings

Object

Localizable strings of all data-record documents.

translated

Boolean

Indicates if all data-records are already translated.