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

◆ DropItemFromNPC()

static void Terraria.GameContent.ItemDropRules.CommonCode.DropItemFromNPC ( NPC npc,
int itemId,
int stack,
bool scattered = false )
inlinestatic

Definition at line 11 of file CommonCode.cs.

12 {
13 float x = npc.position.X;
14 float y = npc.position.Y;
15 int width = npc.width;
16 bool wet = npc.wet;
17 if (32640 == 0)
18 {
19 }
20 int width2 = npc.width;
21 float y2 = npc.position.Y;
22 int height = npc.height;
23 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Entity.height, j__TPar, Terraria.Entity.position, Terraria.Entity.wet, and Terraria.Entity.width.