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

◆ NPCLoot()

void Terraria.NPC.NPCLoot ( )
inline

Definition at line 5086 of file NPC.cs.

5087 {
5088 if (!true)
5089 {
5090 }
5091 bool netClientOnly = Main.NetClientOnly;
5092 int num = this.type;
5093 if (num == 0)
5094 {
5095 }
5096 if (num != 0)
5097 {
5098 if (num == 0)
5099 {
5100 }
5101 if (num == 0)
5102 {
5103 int num2 = this.type;
5104 return;
5105 }
5106 }
5107 if (num == 0)
5108 {
5109 }
5110 float x = this.position.X;
5111 float y = this.position.Y;
5112 int width = this.width;
5113 bool wet = this.wet;
5114 if (num == 0)
5115 {
5116 }
5119 int num3 = this.type;
5120 bool flag = this.boss;
5121 if (!flag || !flag)
5122 {
5123 }
5125 int num4 = this.type;
5126 if (num4 == 0)
5127 {
5128 }
5129 if (num4 == 0)
5130 {
5132 bool spawnedFromStatue2;
5133 if (spawnedFromStatue)
5134 {
5135 if (!spawnedFromStatue)
5136 {
5137 }
5139 {
5140 if (!spawnedFromStatue)
5141 {
5142 }
5143 if (!spawnedFromStatue)
5144 {
5145 return;
5146 }
5147 }
5149 if (!spawnedFromStatue2 || !spawnedFromStatue2)
5150 {
5151 }
5152 }
5153 if (!spawnedFromStatue2)
5154 {
5155 }
5156 return;
5157 }
5158 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460
bool boss
Definition NPC.cs:11486
void CountKillForAchievements()
Definition NPC.cs:5730
bool SpawnedFromStatue
Definition NPC.cs:11102
void CountKillForBannersAndDropThem()
Definition NPC.cs:5631
bool GetWereThereAnyInteractions()
Definition NPC.cs:5722

References Terraria.NPC.boss, Terraria.NPC.CountKillForAchievements(), Terraria.NPC.CountKillForBannersAndDropThem(), Terraria.NPC.GetWereThereAnyInteractions(), j__TPar, Terraria.Main.NetClientOnly, Terraria.Entity.position, Terraria.NPC.SpawnedFromStatue, Terraria.NPC.type, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.

Referenced by Terraria.NPC.DropEoWLoot().