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

◆ OnHover()

void Terraria.ModLoader.AccessorySlotLoader.OnHover ( int index,
int context )
inline

Definition at line 580 of file AccessorySlotLoader.cs.

581 {
582 Get(index).OnMouseHover(ContextToEnum(context));
583 }
ModAccessorySlot Get(int id, Player player)
AccessorySlotType ContextToEnum(int context)
virtual void OnMouseHover(AccessorySlotType context)
Allows you to do stuff while the player is hovering over this slot.

References Terraria.ModLoader.AccessorySlotLoader.ContextToEnum(), Terraria.ModLoader.AccessorySlotLoader.Get(), and Terraria.ModLoader.ModAccessorySlot.OnMouseHover().

Referenced by Terraria.ModLoader.AccessorySlotLoader.DrawSlot().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: