UpdateVanity() public method

public UpdateVanity ( Player player, EquipType type ) : void
player Terraria.Player
type EquipType
return void
Beispiel #1
0
 internal static void UpdateVanity(Player player)
 {
     foreach (EquipType type in Enum.GetValues(typeof(EquipType)))
     {
         int          slot    = EquipLoader.GetPlayerEquip(player, type);
         EquipTexture texture = EquipLoader.GetEquipTexture(type, slot);
         if (texture != null)
         {
             texture.UpdateVanity(player, type);
         }
     }
 }