tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.ModLoader.EquipLoader Class Reference

This serves as a central place to store equipment slots and their corresponding textures. You will use this to obtain the IDs for your equipment textures. More...

Static Public Member Functions

static void EquipFrameEffects (Player player)
 Hook Player.PlayerFrame Calls each of the item's equipment texture's UpdateVanity hook. More...
 
static EquipTexture GetEquipTexture (EquipType type, int slot)
 Gets the equipment texture for the specified equipment type and ID. More...
 

Static Public Attributes

static readonly EquipType[] EquipTypes = (EquipType[])Enum.GetValues(typeof(EquipType))
 

Detailed Description

This serves as a central place to store equipment slots and their corresponding textures. You will use this to obtain the IDs for your equipment textures.

Member Function Documentation

◆ EquipFrameEffects()

static void Terraria.ModLoader.EquipLoader.EquipFrameEffects ( Player  player)
static

Hook Player.PlayerFrame Calls each of the item's equipment texture's UpdateVanity hook.

◆ GetEquipTexture()

static EquipTexture Terraria.ModLoader.EquipLoader.GetEquipTexture ( EquipType  type,
int  slot 
)
static

Gets the equipment texture for the specified equipment type and ID.

Parameters
type
slot
Returns