Skip to main content

ModellingCharacter.FreeDefinition

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Private inspector entry on ModellingCharacter: a free player cosmetic and its colours, used for the basics and free lists.

Constructors​

MemberWhat it is
FreeDefinition()Creates a ModellingCharacter.FreeDefinition with default values.

Fields​

MemberWhat it is
string nameHidden label for the entry.
2 private and internal fields
MemberWhat it is
private TwoColors[] argumentsBacking field for Arguments.
private PlayerCosmeticDefinition assetBacking field for Asset; the inspector only offers free cosmetics.

Properties​

MemberWhat it is
TwoColors[] Arguments { get; set; }The colour pairs applied to the cosmetic.
ICustomizationDefinition Asset { get; set; }The cosmetic. Setting it casts to PlayerCosmeticDefinition.

Used in​

Members of other types that take, return or hold a FreeDefinition: