Table of Contents

Interface IFaceGen

Namespace
TaleWorlds.Core
Assembly
TaleWorlds.Core.dll
public interface IFaceGen

Methods

GenerateParentBody(BodyProperties, int, ref BodyProperties, ref BodyProperties)

void GenerateParentBody(BodyProperties childBodyProperties, int race, ref BodyProperties motherBodyProperties, ref BodyProperties fatherBodyProperties)

Parameters

childBodyProperties BodyProperties
race int
motherBodyProperties BodyProperties
fatherBodyProperties BodyProperties

GetBaseMonsterFromRace(int)

Monster GetBaseMonsterFromRace(int race)

Parameters

race int

Returns

Monster

GetBaseMonsterNameFromRace(int)

string GetBaseMonsterNameFromRace(int race)

Parameters

race int

Returns

string

GetBodyPropertiesWithAge(ref BodyProperties, float)

BodyProperties GetBodyPropertiesWithAge(ref BodyProperties bodyProperties, float age)

Parameters

bodyProperties BodyProperties
age float

Returns

BodyProperties

GetMaturityTypeWithAge(float)

BodyMeshMaturityType GetMaturityTypeWithAge(float age)

Parameters

age float

Returns

BodyMeshMaturityType

GetMonster(string)

Monster GetMonster(string monsterID)

Parameters

monsterID string

Returns

Monster

GetMonsterWithSuffix(int, string)

Monster GetMonsterWithSuffix(int race, string suffix)

Parameters

race int
suffix string

Returns

Monster

GetRaceCount()

int GetRaceCount()

Returns

int

GetRaceNames()

string[] GetRaceNames()

Returns

string[]

GetRaceOrDefault(string)

int GetRaceOrDefault(string raceId)

Parameters

raceId string

Returns

int

GetRandomBodyProperties(int, bool, BodyProperties, BodyProperties, int, int, string, string, string)

BodyProperties GetRandomBodyProperties(int race, bool isFemale, BodyProperties bodyPropertiesMin, BodyProperties bodyPropertiesMax, int hairCoverType, int seed, string hairTags, string beardTags, string tatooTags)

Parameters

race int
isFemale bool
bodyPropertiesMin BodyProperties
bodyPropertiesMax BodyProperties
hairCoverType int
seed int
hairTags string
beardTags string
tatooTags string

Returns

BodyProperties

SetBody(ref BodyProperties, int, int)

void SetBody(ref BodyProperties bodyProperties, int build, int weight)

Parameters

bodyProperties BodyProperties
build int
weight int

SetHair(ref BodyProperties, int, int, int)

void SetHair(ref BodyProperties bodyProperties, int hair, int beard, int tattoo)

Parameters

bodyProperties BodyProperties
hair int
beard int
tattoo int

SetPigmentation(ref BodyProperties, int, int, int)

void SetPigmentation(ref BodyProperties bodyProperties, int skinColor, int hairColor, int eyeColor)

Parameters

bodyProperties BodyProperties
skinColor int
hairColor int
eyeColor int

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).