M&B: Bannerlord 1.2.10
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.TwoDimension.TextToken Class Reference

Public Types

enum  TokenType {
  EmptyCharacter ,
  ZeroWidthSpace ,
  NonBreakingSpace ,
  WordJoiner ,
  NewLine ,
  Tab ,
  Character ,
  Tag
}
 

Static Public Member Functions

static TextToken CreateEmptyCharacter ()
 
static TextToken CreateZeroWidthSpaceCharacter ()
 
static TextToken CreateNonBreakingSpaceCharacter ()
 
static TextToken CreateWordJoinerCharacter ()
 
static TextToken CreateNewLine ()
 
static TextToken CreateTab ()
 
static TextToken CreateCharacter (char character)
 
static TextToken CreateTag (RichTextTag tag)
 
static TextToken CreateCharacterCannotEndLineWith (char character)
 
static TextToken CreateCharacterCannotStartLineWith (char character)
 
static List< TextTokenCreateTokenArrayFromWord (string word)
 

Properties

char Token [get]
 
TokenType Type [get]
 
RichTextTag Tag [get]
 
bool CannotStartLineWithCharacter [get, set]
 
bool CannotEndLineWithCharacter [get, set]
 

Member Enumeration Documentation

◆ TokenType

Enumerator
EmptyCharacter 
ZeroWidthSpace 
NonBreakingSpace 
WordJoiner 
NewLine 
Tab 
Character 
Tag 

Member Function Documentation

◆ CreateEmptyCharacter()

static TextToken TaleWorlds.TwoDimension.TextToken.CreateEmptyCharacter ( )
static

◆ CreateZeroWidthSpaceCharacter()

static TextToken TaleWorlds.TwoDimension.TextToken.CreateZeroWidthSpaceCharacter ( )
static

◆ CreateNonBreakingSpaceCharacter()

static TextToken TaleWorlds.TwoDimension.TextToken.CreateNonBreakingSpaceCharacter ( )
static

◆ CreateWordJoinerCharacter()

static TextToken TaleWorlds.TwoDimension.TextToken.CreateWordJoinerCharacter ( )
static

◆ CreateNewLine()

static TextToken TaleWorlds.TwoDimension.TextToken.CreateNewLine ( )
static

◆ CreateTab()

static TextToken TaleWorlds.TwoDimension.TextToken.CreateTab ( )
static

◆ CreateCharacter()

static TextToken TaleWorlds.TwoDimension.TextToken.CreateCharacter ( char character)
static

◆ CreateTag()

static TextToken TaleWorlds.TwoDimension.TextToken.CreateTag ( RichTextTag tag)
static

◆ CreateCharacterCannotEndLineWith()

static TextToken TaleWorlds.TwoDimension.TextToken.CreateCharacterCannotEndLineWith ( char character)
static

◆ CreateCharacterCannotStartLineWith()

static TextToken TaleWorlds.TwoDimension.TextToken.CreateCharacterCannotStartLineWith ( char character)
static

◆ CreateTokenArrayFromWord()

static List< TextToken > TaleWorlds.TwoDimension.TextToken.CreateTokenArrayFromWord ( string word)
static

Property Documentation

◆ Token

char TaleWorlds.TwoDimension.TextToken.Token
get

◆ Type

TokenType TaleWorlds.TwoDimension.TextToken.Type
get

◆ Tag

RichTextTag TaleWorlds.TwoDimension.TextToken.Tag
get

◆ CannotStartLineWithCharacter

bool TaleWorlds.TwoDimension.TextToken.CannotStartLineWithCharacter
getset

◆ CannotEndLineWithCharacter

bool TaleWorlds.TwoDimension.TextToken.CannotEndLineWithCharacter
getset