GetPlayerEquip() static private method

static private GetPlayerEquip ( Player player, EquipType type ) : int
player Player
type EquipType
return int
Ejemplo n.º 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);
         }
     }
 }