M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.GauntletUI.Language Class Reference

Inherits TaleWorlds.TwoDimension.ILanguage.

Public Member Functions

bool FontMapHasKey (string keyFontName)
 Returns if given keyFontName is defined in the mapping in this language More...
 
Font GetMappedFont (string keyFontName)
 Get mapped font in this language from keyFontName to font in this language More...
 
IEnumerable< char > GetForbiddenStartOfLineCharacters ()
 List of characters that cannot come at the beginning of lines More...
 
bool IsCharacterForbiddenAtStartOfLine (char character)
 
IEnumerable< char > GetForbiddenEndOfLineCharacters ()
 List of characters that cannot come to the end of lines More...
 
bool IsCharacterForbiddenAtEndOfLine (char character)
 
string GetLanguageID ()
 
string GetDefaultFontName ()
 
Font GetDefaultFont ()
 Default font of this language More...
 
char GetLineSeperatorChar ()
 Line separator character of this language More...
 
bool DoesLanguageRequireSpaceForNewline ()
 Does this language require a space for breaking into a new line Some Asian languages don't require spaces for newlines More...
 
bool FontMapHasKey (string keyFontName)
 Returns if given keyFontName is defined in the mapping in this language More...
 
Font GetMappedFont (string keyFontName)
 Get mapped font in this language from keyFontName to font in this language More...
 

Static Public Member Functions

static Language CreateFrom (XmlNode languageNode, FontFactory fontFactory)
 

Properties

char[] ForbiddenStartOfLineCharacters [get]
 List of characters that cannot come at the beginning of lines More...
 
char[] ForbiddenEndOfLineCharacters [get]
 List of characters that cannot come to the end of lines More...
 
string LanguageID [get]
 
string DefaultFontName [get]
 
bool DoesFontRequireSpaceForNewline = true [get]
 Does this language require a space for breaking into a new line Some Asian languages don't require spaces for newlines More...
 
Font DefaultFont [get]
 Default font of this language More...
 
char LineSeperatorChar [get]
 Char that is used to separate the line More...
 

Member Function Documentation

◆ FontMapHasKey()

bool TaleWorlds.GauntletUI.Language.FontMapHasKey ( string  keyFontName)
Parameters
keyFontName

Implements TaleWorlds.TwoDimension.ILanguage.

◆ GetMappedFont()

Font TaleWorlds.GauntletUI.Language.GetMappedFont ( string  keyFontName)
Parameters
keyFontNameFont name in English font

Implements TaleWorlds.TwoDimension.ILanguage.

◆ CreateFrom()

static Language TaleWorlds.GauntletUI.Language.CreateFrom ( XmlNode  languageNode,
FontFactory  fontFactory 
)
static

Property Documentation

◆ ForbiddenStartOfLineCharacters

char [] TaleWorlds.GauntletUI.Language.ForbiddenStartOfLineCharacters
get

◆ ForbiddenEndOfLineCharacters

char [] TaleWorlds.GauntletUI.Language.ForbiddenEndOfLineCharacters
get

◆ LanguageID

string TaleWorlds.GauntletUI.Language.LanguageID
get

◆ DefaultFontName

string TaleWorlds.GauntletUI.Language.DefaultFontName
get

◆ DoesFontRequireSpaceForNewline

bool TaleWorlds.GauntletUI.Language.DoesFontRequireSpaceForNewline = true
get

◆ DefaultFont

Font TaleWorlds.GauntletUI.Language.DefaultFont
get

◆ LineSeperatorChar

char TaleWorlds.GauntletUI.Language.LineSeperatorChar
get