tModLoader v2024.10
A mod to make and play Terraria mods
PlayerVariantID.Sets Class Reference

Static Public Attributes

static int[] AltGenderReference = Factory.CreateIntSet(0, 0, 4, 4, 0, 1, 5, 5, 1, 2, 6, 6, 2, 3, 7, 7, 3, 8, 9, 9, 8, 10, 11, 11, 10)
 Links a skin variant (Player.skinVariant) to the corresponding skin variant of the opposite gender.
 
static SetFactory Factory = new SetFactory(Count)
 
static bool[] Male = Factory.CreateBoolSet(0, 1, 2, 3, 8, 10)
 If true for a given skin variant (Player.skinVariant), then that variant is for a male (Player.Male) player.
Defaults to false.
 
static int[] VariantOrderFemale
 The order of skin variants (Player.skinVariant) for female players. More...
 
static int[] VariantOrderMale
 The order of skin variants (Player.skinVariant) for male players. More...
 

Member Data Documentation

◆ VariantOrderFemale

int [] PlayerVariantID.Sets.VariantOrderFemale
static
Initial value:
= new int[6] {
4,
5,
6,
7,
9,
11
}

The order of skin variants (Player.skinVariant) for female players.

◆ VariantOrderMale

int [] PlayerVariantID.Sets.VariantOrderMale
static
Initial value:
= new int[6] {
0,
1,
2,
3,
8,
10
}

The order of skin variants (Player.skinVariant) for male players.