M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
Helpers.StringHelpers Class Reference

Static Public Member Functions

static string SplitCamelCase (string text)
 
static string CamelCaseToSnakeCase (string camelCaseString)
 Converts CamelCase string to snake_case.
 
static void SetSettlementProperties (string tag, Settlement settlement, TextObject parent=null, bool isRepeatable=false)
 
static void SetRepeatableCharacterProperties (string tag, CharacterObject character, bool includeDetails=false)
 
static TextObject SetCharacterProperties (string tag, CharacterObject character, TextObject parent=null, bool includeDetails=false)
 

Member Function Documentation

◆ SplitCamelCase()

static string Helpers.StringHelpers.SplitCamelCase ( string  text)
static

◆ CamelCaseToSnakeCase()

static string Helpers.StringHelpers.CamelCaseToSnakeCase ( string  camelCaseString)
static
Parameters
camelCaseString
Returns

◆ SetSettlementProperties()

static void Helpers.StringHelpers.SetSettlementProperties ( string  tag,
Settlement  settlement,
TextObject  parent = null,
bool  isRepeatable = false 
)
static

◆ SetRepeatableCharacterProperties()

static void Helpers.StringHelpers.SetRepeatableCharacterProperties ( string  tag,
CharacterObject  character,
bool  includeDetails = false 
)
static

◆ SetCharacterProperties()

static TextObject Helpers.StringHelpers.SetCharacterProperties ( string  tag,
CharacterObject  character,
TextObject  parent = null,
bool  includeDetails = false 
)
static