Class CharacterCode
- Namespace
- TaleWorlds.Core
- Assembly
- TaleWorlds.Core.dll
public class CharacterCode
- Inheritance
-
CharacterCode
- Inherited Members
Fields
BodyProperties
public BodyProperties BodyProperties
Field Value
SpecialCodeSeparator
public const string SpecialCodeSeparator = "@---@"
Field Value
SpecialCodeSeparatorLength
public const int SpecialCodeSeparatorLength = 5
Field Value
Properties
Banner
public Banner Banner { get; }
Property Value
Code
public string Code { get; }
Property Value
Color1
public uint Color1 { get; set; }
Property Value
Color2
public uint Color2 { get; set; }
Property Value
EquipmentCode
public string EquipmentCode { get; }
Property Value
FaceDirtAmount
public float FaceDirtAmount { get; }
Property Value
FormationClass
public FormationClass FormationClass { get; set; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
IsFemale
public bool IsFemale { get; }
Property Value
IsHero
public bool IsHero { get; }
Property Value
Race
public int Race { get; }
Property Value
Methods
CalculateEquipment()
public Equipment CalculateEquipment()
Returns
CreateEmpty()
public static CharacterCode CreateEmpty()
Returns
CreateFrom(string)
public static CharacterCode CreateFrom(string code)
Parameters
code
string
Returns
CreateFrom(string, BodyProperties, bool, bool, uint, uint, FormationClass, int)
public static CharacterCode CreateFrom(string equipmentCode, BodyProperties bodyProperties, bool isFemale, bool isHero, uint color1, uint color2, FormationClass formationClass, int race)
Parameters
equipmentCode
stringbodyProperties
BodyPropertiesisFemale
boolisHero
boolcolor1
uintcolor2
uintformationClass
FormationClassrace
int
Returns
CreateFrom(BasicCharacterObject)
public static CharacterCode CreateFrom(BasicCharacterObject character)
Parameters
character
BasicCharacterObject
Returns
CreateNewCodeString()
public string CreateNewCodeString()
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).