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

◆ ChangeItemType()

void Terraria.Item.ChangeItemType ( int to)
inline

Definition at line 47874 of file Item.cs.

47875 {
47876 bool flag = favorited;
47877 SetDefaults(to);
47878 favorited = flag;
47879 }
bool favorited
If true, then the given item is favorited. Favorited items cannot be dropped, automatically moved in...
Definition Item.cs:354
void SetDefaults(int Type=0)
Definition Item.cs:48800

References Terraria.Item.favorited, and Terraria.Item.SetDefaults().

Referenced by Terraria.Player.ItemCheck_ManageRightClickFeatures(), and Terraria.UI.ItemSlot.TryItemSwap().

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