terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ PutItemInInventoryFromItemUsage()

void Terraria.Player.PutItemInInventoryFromItemUsage ( int type,
int theSelectedItem = -1 )
inline

Definition at line 13667 of file Player.cs.

13668 {
13669 Item[] array = this.inventory;
13671 if (array != null)
13672 {
13673 int whoAmI = this.whoAmI;
13674 if (array == null)
13675 {
13676 }
13677 bool summon = array.summon;
13678 int noGrabDelay = array.noGrabDelay;
13679 Item item;
13680 int stack = item.stack;
13681 Item[] array2 = this.inventory;
13683 float x = this.position.X;
13684 float y = this.position.Y;
13685 int width = this.width;
13686 bool wet = this.wet;
13687 if (array2 == null)
13688 {
13689 }
13690 if (32640 == 0)
13691 {
13692 }
13693 bool netClientOnly = Main.NetClientOnly;
13694 return;
13695 }
13696 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460
Item[] inventory
Definition Player.cs:21263

References System.array, Terraria.Player.inventory, System.item, j__TPar, Terraria.Main.NetClientOnly, Terraria.Entity.position, System.stack, Terraria.Item.stack, Terraria.Entity.wet, Terraria.Entity.whoAmI, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.