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

◆ FrameEffects()

virtual void Terraria.ModLoader.EquipTexture.FrameEffects ( Player player,
EquipType type )
inlinevirtual

Allows you to create special effects (such as dust) when this equipment texture is displayed on the player under the given equipment type. By default this will call the associated ModItem's UpdateVanity if there is an associated ModItem.

Parameters
player
type

Definition at line 40 of file EquipTexture.cs.

41 {
42 if (Item != null)
43 {
44 Item.EquipFrameEffects(player, type);
45 }
46 }
ModItem Item
The item that is associated with this equipment texture. Null if no item is associated with this.
virtual void EquipFrameEffects(Player player, EquipType type)
Allows you to create special effects (such as dust) when this item's equipment texture of the given e...
Definition ModItem.cs:816