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

◆ CacheEnemy()

void Terraria.GameContent.CoinLossRevengeSystem.CacheEnemy ( NPC npc)
inline

Definition at line 50 of file CoinLossRevengeSystem.cs.

51 {
52 if (!npc.boss)
53 {
54 int realLife = npc.realLife;
55 int rarity = npc.rarity;
56 int extraValue = npc.extraValue;
57 if (rarity == 0)
58 {
59 }
60 float x = npc.position.X;
61 if (rarity == 0)
62 {
63 }
64 float x2 = npc.position.X;
65 int width = npc.width;
66 if (17440 == 0)
67 {
68 }
69 float y = npc.position.Y;
70 if (49664 == 0)
71 {
72 }
73 float y2 = npc.position.Y;
74 if (17440 == 0)
75 {
76 }
77 int height = npc.height;
78 int netID = npc.netID;
79 if (50208 == 0)
80 {
81 }
82 Vector2 center = npc.Center;
83 float lifePercent = npc.GetLifePercent();
84 int type = npc.type;
85 int aiStyle = npc.aiStyle;
86 int extraValue2 = npc.extraValue;
87 float value = npc.value;
88 bool spawnedFromStatue = npc.SpawnedFromStatue;
89 int gameTime = this._gameTime;
90 if (50208 == 0)
91 {
92 }
93 bool netHost = Main.NetHost;
94 string givenOrTypeName = npc.GivenOrTypeName;
95 string text = "Cached " + givenOrTypeName;
96 if (49664 == 0)
97 {
98 }
99 }
100 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.GameContent.CoinLossRevengeSystem._gameTime, Terraria.NPC.aiStyle, Terraria.NPC.boss, Terraria.Entity.Center, Terraria.NPC.extraValue, Terraria.NPC.GetLifePercent(), Terraria.NPC.GivenOrTypeName, Terraria.Entity.height, j__TPar, Terraria.Main.NetHost, Terraria.NPC.netID, Terraria.Entity.position, Terraria.NPC.rarity, Terraria.NPC.realLife, Terraria.NPC.SpawnedFromStatue, System.text, Terraria.NPC.type, System.value, Terraria.NPC.value, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.