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.Golf.FancyGolfPredictionLine.Draw ( Camera camera,
SpriteBatch spriteBatch,
float chargeProgress )
inline

Definition at line 28 of file FancyGolfPredictionLine.cs.

29 {
31 int num = 1;
32 if (num == 0)
33 {
34 }
35 if (num == 0)
36 {
37 }
38 if (num == 0)
39 {
40 }
41 if (num == 0)
42 {
43 }
45 int size = this._positions._size;
46 long num2 = 0L;
48 Vector2 position = this.GetPosition(chargeProgress);
49 Color color = this.GetColor2(chargeProgress);
50 int size2 = this._positions._size;
52 if (size2 == 0)
53 {
54 }
55 float scale = this.GetScale(chargeProgress);
56 int size3 = this._positions._size;
57 this._drawer.End();
58 }
class f__AnonymousType0<< Count > j__TPar
static float Clamp(float value, float min, float max)
Definition MathHelper.cs:22
void GetSectionLength(int startIndex, [Out] float length, [Out] float rotation)

References Terraria.GameContent.Golf.FancyGolfPredictionLine._drawer, Terraria.GameContent.Golf.FancyGolfPredictionLine._positions, System.Collections.Generic.List< T >._size, Microsoft.Xna.Framework.MathHelper.Clamp(), ReLogic.Graphics.BasicDebugDrawer.End(), Terraria.GameContent.Golf.FancyGolfPredictionLine.GetColor2(), Terraria.GameContent.Golf.FancyGolfPredictionLine.GetPosition(), Terraria.GameContent.Golf.FancyGolfPredictionLine.GetScale(), Terraria.GameContent.Golf.FancyGolfPredictionLine.GetSectionLength(), j__TPar, System.L, and Terraria.Graphics.Camera.UnscaledPosition.