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()

override void Terraria.GameContent.Animations.Segments.NPCSegment.Draw ( GameAnimationSegment info)
inline

Definition at line 346 of file Segments.cs.

347 {
348 int timeInAnimation = info.TimeInAnimation;
349 float dedicatedTimeNeeded = base.DedicatedTimeNeeded;
350 int timeInAnimation2 = info.TimeInAnimation;
352 int timeInAnimation3 = info.TimeInAnimation;
353 NPC npc = this._npc;
354 NPC npc2 = this._npc;
355 int alpha = npc2.alpha;
356 npc2.FindFrame();
357 if (alpha == 0)
358 {
359 }
360 int type = this._npc.type;
361 if (alpha == 0)
362 {
363 }
364 NPC npc3 = this._npc;
365 }
class f__AnonymousType0<< Count > j__TPar
void ResetNPCAnimation(GameAnimationSegment info)
Definition Segments.cs:368
int alpha
Definition NPC.cs:11447

References Terraria.GameContent.Animations.Segments.NPCSegment._npc, Terraria.NPC.alpha, System.info, j__TPar, Terraria.GameContent.Animations.Segments.NPCSegment.ResetNPCAnimation(), and Terraria.NPC.type.