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.SpriteSegment.Draw ( GameAnimationSegment info)
inline

Definition at line 441 of file Segments.cs.

442 {
443 int timeInAnimation = info.TimeInAnimation;
444 float dedicatedTimeNeeded = base.DedicatedTimeNeeded;
445 int timeInAnimation2 = info.TimeInAnimation;
446 Segments.LooseSprite sprite = this._sprite;
447 Asset<Texture2D> asset = sprite._asset;
449 int num = 16256;
451 int timeInAnimation3 = info.TimeInAnimation;
454 float x = info.AnchorPositionOnScreen.X;
455 float y = info.AnchorPositionOnScreen.Y;
456 float x2 = this._anchorOffset.X;
457 float y2 = this._anchorOffset.Y;
458 if (sprite3 == null)
459 {
460 }
462 float displayOpacity = info.DisplayOpacity;
463 float currentOpacity = sprite4.CurrentOpacity;
464 if (this._shaderEffect != null)
465 {
466 return;
467 }
468 if (this._shaderEffect != null)
469 {
470 return;
471 }
472 }
class f__AnonymousType0<< Count > j__TPar
Segments.SpriteSegment.IShaderEffect _shaderEffect
Definition Segments.cs:491

References Terraria.GameContent.Animations.Segments.SpriteSegment._anchorOffset, Terraria.GameContent.Animations.Segments.LooseSprite._asset, Terraria.GameContent.Animations.Segments.SpriteSegment._shaderEffect, Terraria.GameContent.Animations.Segments.SpriteSegment._sprite, Terraria.GameContent.Animations.GameAnimationSegment.DisplayOpacity, System.info, j__TPar, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.