Class MBTextManager
- Namespace
- TaleWorlds.Localization
- Assembly
- TaleWorlds.Localization.dll
public static class MBTextManager
- Inheritance
-
MBTextManager
- Inherited Members
Fields
LinkAttribute
public const string LinkAttribute = "LINK"
Field Value
Properties
ActiveTextLanguage
public static string ActiveTextLanguage { get; }
Property Value
LocalizationDebugMode
public static bool LocalizationDebugMode { get; set; }
Property Value
Methods
ChangeLanguage(string)
public static bool ChangeLanguage(string language)
Parameters
language
string
Returns
ClearAll()
public static void ClearAll()
DiscardAnimationTags(string)
public static string DiscardAnimationTags(string text)
Parameters
text
string
Returns
DiscardAnimationTagsAndCheckAnimationTagPositions(string)
public static string DiscardAnimationTagsAndCheckAnimationTagPositions(string text)
Parameters
text
string
Returns
GetActiveTextLanguageIndex()
public static int GetActiveTextLanguageIndex()
Returns
GetConversationAnimations(TextObject)
public static string[] GetConversationAnimations(TextObject to)
Parameters
to
TextObject
Returns
- string[]
LanguageExistsInCurrentConfiguration(string, bool)
public static bool LanguageExistsInCurrentConfiguration(string language, bool developmentMode)
Parameters
Returns
ResetFunctions()
public static void ResetFunctions()
SetFunction(string, string)
public static void SetFunction(string funcName, string functionBody)
Parameters
SetTextVariable(string, int)
public static void SetTextVariable(string variableName, int content)
Parameters
SetTextVariable(string, int, object)
public static void SetTextVariable(string variableName, int arrayIndex, object content)
Parameters
SetTextVariable(string, object)
public static void SetTextVariable(string variableName, object content)
Parameters
SetTextVariable(string, float)
public static void SetTextVariable(string variableName, float content)
Parameters
SetTextVariable(string, string, bool)
public static void SetTextVariable(string variableName, string text, bool sendClients = false)
Parameters
SetTextVariable(string, TextObject, bool)
public static void SetTextVariable(string variableName, TextObject text, bool sendClients = false)
Parameters
variableName
stringtext
TextObjectsendClients
bool
ThrowLocalizationError(string)
public static void ThrowLocalizationError(string message)
Parameters
message
string
TryChangeVoiceLanguage(string)
public static bool TryChangeVoiceLanguage(string language)
Parameters
language
string
Returns
TryGetVoiceObject(TextObject, out VoiceObject)
public static bool TryGetVoiceObject(TextObject to, out VoiceObject vo)
Parameters
to
TextObjectvo
VoiceObject
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).