Semi Mod Loader
|
Classes | |
class | CustomLanguage |
Representation of a custom (modded) language. More... | |
class | GungeonLanguage |
Representation of a builtin (vanilla) language. More... | |
class | Language |
Abstract representation of a language. More... | |
class | LocalizationSource |
Abstract localization source. Children of this class have to define how to load localization data. More... | |
class | ModLocalization |
class | PrefabLocalization |
Prefab localization source. This is used for localizations included with the game, to load them from the game's assets. More... | |
class | RuntimeLocalization |
Public Types | |
enum | StringTable { StringTable.Core, StringTable.Enemies, StringTable.Intro, StringTable.Items, StringTable.Synergies, StringTable.UI } |
Type of localization string table. Different elements of the game will request localizations from a different string table. For example, the GUI notification when you receive a synergy will request strings from the synergy table, but the one when you pick up an item will request strings from the item table. More... | |
Static Public Member Functions | |
static void | ChangeLanguage (string id) |
Changes the current language to another one. More... | |
static void | ReloadLocalizations () |
Reloads loaded localization strings. More... | |
Properties | |
static string | CurrentLanguageID [get, set] |
Global ID of the currently selected language. More... | |
Static Private Attributes | |
static string | _CurrentLanguageID |
|
strong |
Type of localization string table. Different elements of the game will request localizations from a different string table. For example, the GUI notification when you receive a synergy will request strings from the synergy table, but the one when you pick up an item will request strings from the item table.
Enumerator | |
---|---|
Core | |
Enemies | |
Intro | |
Items | |
Synergies | |
UI |
|
inlinestatic |
Changes the current language to another one.
id | Global ID of the language. |
|
inlinestatic |
Reloads loaded localization strings.
|
staticprivate |
|
staticgetset |
Global ID of the currently selected language.
The current language ID.