Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RebuildList()

void Terraria.GameContent.HairstyleUnlocksHelper.RebuildList ( )
inlineprivate

Definition at line 47 of file HairstyleUnlocksHelper.cs.

48 {
52 {
53 for (int i = 0; i < 51; i++)
54 {
56 }
76 }
77 for (int j = 51; j < 123; j++)
78 {
80 }
90 {
95 }
97 {
98 availableHairstyles.AddRange(new int[10] { 132, 131, 130, 129, 128, 127, 126, 125, 124, 123 });
99 }
101 {
103 }
104 }
void AddRange(IEnumerable< KeyValuePair< TKey, TValue > > collection)
void Add(TKey key, TValue value)

References Terraria.GameContent.HairstyleUnlocksHelper._defeatedMartians, Terraria.GameContent.HairstyleUnlocksHelper._defeatedMoonlord, Terraria.GameContent.HairstyleUnlocksHelper._defeatedPlantera, Terraria.GameContent.HairstyleUnlocksHelper._isAtCharacterCreation, Terraria.GameContent.HairstyleUnlocksHelper._isAtStylist, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Collections.Generic.Dictionary< TKey, TValue >.AddRange(), Terraria.GameContent.HairstyleUnlocksHelper.AvailableHairstyles, and System.Collections.Generic.Dictionary< TKey, TValue >.Clear().

Referenced by Terraria.GameContent.HairstyleUnlocksHelper.UpdateUnlocks().