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

◆ DropItemLocalPerClientAndSetNPCMoneyTo0()

static void Terraria.GameContent.ItemDropRules.CommonCode.DropItemLocalPerClientAndSetNPCMoneyTo0 ( NPC npc,
int itemId,
int stack,
bool interactionRequired = true )
inlinestatic

Definition at line 26 of file CommonCode.cs.

27 {
28 if (5456 == 0)
29 {
30 }
31 bool netHost = Main.NetHost;
32 IEntitySource itemSource_Loot = npc.GetItemSource_Loot();
33 float x = npc.position.X;
34 float y = npc.position.Y;
35 int width = npc.width;
36 bool wet = npc.wet;
37 int num = 32640;
38 if (num == 0)
39 {
40 }
41 int num2 = 54000;
42 if (num == 0)
43 {
44 }
45 if (num != 0)
46 {
47 if (num2 == 0)
48 {
49 }
50 if (num != 0)
51 {
52 if (npc.playerInteraction == null)
53 {
54 }
55 int myPlayer = Main.myPlayer;
56 return;
57 }
58 }
59 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.NPC.GetItemSource_Loot(), j__TPar, Terraria.Main.myPlayer, Terraria.Main.NetHost, Terraria.NPC.playerInteraction, Terraria.Entity.position, Terraria.Entity.wet, and Terraria.Entity.width.