Definition at line 13 of file MyLocalization.cs.
void VRage.Game.Localization.MyLocalization.DisposeAll |
( |
| ) |
|
|
inline |
bool VRage.Game.Localization.MyLocalization.DisposeContext |
( |
MyStringId |
nameId | ) |
|
|
inline |
Tries to dispose disposable context.
- Parameters
-
nameId | Name id of context. |
Definition at line 221 of file MyLocalization.cs.
Returns localization for given context and id.
- Parameters
-
contextId | Context name id. |
id | Message identifier. |
- Returns
- String builder with localization.
Definition at line 343 of file MyLocalization.cs.
static void VRage.Game.Localization.MyLocalization.Initialize |
( |
| ) |
|
|
inlinestatic |
Loads bundle of files under bundle id.
- Parameters
-
bundle | Data bundle. |
influencedContexts | Contexts that got some new data in the process. |
Definition at line 248 of file MyLocalization.cs.
void VRage.Game.Localization.MyLocalization.Switch |
( |
string |
language | ) |
|
|
inline |
Switches all contexts to provided language.
- Parameters
-
Definition at line 204 of file MyLocalization.cs.
void VRage.Game.Localization.MyLocalization.UnloadBundle |
( |
MyStringId |
bundleId | ) |
|
|
inline |
Unloads bundle of files from the system by given id.
- Parameters
-
Definition at line 271 of file MyLocalization.cs.
readonly string VRage.Game.Localization.MyLocalization.LOCALIZATION_FOLDER = "Data\\Localization" |
|
static |
Simplified accessor.
- Parameters
-
contextName | Name id of context. |
tag | Tag to translate. |
- Returns
- Localized String builder.
Definition at line 286 of file MyLocalization.cs.
Simplified accessor.
- Parameters
-
contextName | Name id of context. |
- Returns
- Context of given name.
Definition at line 313 of file MyLocalization.cs.
StringBuilder VRage.Game.Localization.MyLocalization.this[string contexName, string tag] |
|
get |
Simplified accessor. Preferably use the string id version.
- Parameters
-
contexName | Name of the context. |
tag | Name of the tag. |
- Returns
Definition at line 300 of file MyLocalization.cs.
Simplified accessor. Preferably use the string id version.
- Parameters
-
contextName | Name id of context. |
- Returns
- Context of given name.
Definition at line 328 of file MyLocalization.cs.
The documentation for this class was generated from the following file: