public UpdateVanity ( |
||
player | ||
type | EquipType | |
return | void |
public virtual void UpdateVanity(Player player, EquipType type)
{
if (item != null)
{
item.UpdateVanity(player, type);
}
}
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); } } }