class
StringTableManager
Manages string tables used for localizing text.
Allows you to add and remove different tables and change the active language.
Public
Constructors
StringTableManager
Methods
SetActiveLanguage
Determines the currently active language.
Any newly created strings will use this value.
GetActiveLanguage
GetTable
Returns the string table with the specified id.
If the table doesn't exist new one is created.
- id
- Identifier of the string table.
Returns: String table with the specified identifier.
RemoveTable
Removes the string table with the specified id.
- id
- Identifier of the string table.
SetTable
Registers a new string table or replaces an old one at the specified id.
- id
- Identifier of the string table.
- table
- New string table to assign to the specified identifier.
staticInstance
Returns a reference to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticInstancePtr
Returns a pointer to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticShutDown
Shuts down this module and frees any resources it is using.
staticIsStarted
Query if the module has been started.
Protected
Methods
~Module<T>
OnStartUp
Override if you want your module to be notified once it has been constructed and started.
OnShutDown
Override if you want your module to be notified just before it is deleted.
staticInstanceInternal
Returns a singleton instance of this module.