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

◆ Draw()

void Terraria.GameContent.Bestiary.UnlockableNPCEntryIcon.Draw ( BestiaryUICollectionInfo providedInfo,
SpriteBatch spriteBatch,
EntryIconDrawSettings settings )
inline

Implements Terraria.GameContent.Bestiary.IEntryIcon.

Definition at line 136 of file UnlockableNPCEntryIcon.cs.

137 {
139 if (customTexture != null)
140 {
141 Vector2 center = this._npcCache.Center;
142 if (customTexture == null)
143 {
144 }
146 if (customTexture == null)
147 {
148 }
149 Vector2 vector = Utils.Size(customTexture2);
150 if (customTexture == null)
151 {
152 }
153 float scale = this._npcCache.scale;
154 return;
155 }
156 bool townNPC = this._npcCache.townNPC;
157 if (townNPC)
158 {
160 if (!townNPC)
161 {
162 npcCache = this._npcCache;
163 }
164 int type = npcCache.type;
165 if (npcCache == null)
166 {
167 }
168 NPC npcCache2 = this._npcCache;
169 if (townNPC)
170 {
171 }
172 return;
173 }
174 bool behindTiles = this._npcCache.behindTiles;
175 int num = 1;
176 if (num == 0)
177 {
178 }
179 int value = num.m_value;
180 }
class f__AnonymousType0<< Count > j__TPar
Vector2 Center
Definition Entity.cs:134
float scale
Definition NPC.cs:11453
bool behindTiles
Definition NPC.cs:11492
bool townNPC
Definition NPC.cs:11519

References Terraria.GameContent.Bestiary.UnlockableNPCEntryIcon._customTexture, Terraria.GameContent.Bestiary.UnlockableNPCEntryIcon._npcCache, Terraria.NPC.behindTiles, Terraria.Entity.Center, j__TPar, Terraria.NPC.scale, Terraria.Utils.Size(), Terraria.NPC.townNPC, Terraria.NPC.type, and System.value.