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

◆ DropSelectedItem() [1/2]

void Terraria.Player.DropSelectedItem ( )
inline

Definition at line 5561 of file Player.cs.

5562 {
5563 if (Main.mouseItem != null && Main.mouseItem.type > 0 && Main.mouseItem.stack > 0)
5564 {
5566 }
5567 else
5568 {
5570 }
5571 }
void DropSelectedItem()
Definition Player.cs:5561
Item[] inventory
The player's normal inventory. Indexes 0-9 hold the hotbar items, 10-49 the rest of the main inventor...
Definition Player.cs:1767

References Terraria.Player.DropSelectedItem(), Terraria.Player.inventory, Terraria.Main.mouseItem, and Terraria.Player.selectedItem.

Referenced by Terraria.Player.dropItemCheck(), Terraria.Player.DropSelectedItem(), and Terraria.UI.ItemSlot.GetGamepadInstructions().

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