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

◆ DrawProj_TrueNightsEdge()

void Terraria.Main.DrawProj_TrueNightsEdge ( Projectile proj)
inlineprivate

Definition at line 9765 of file Main.cs.

9766 {
9767 int num = 1;
9768 if (num == 0)
9769 {
9770 }
9773 if (num == 0)
9774 {
9775 }
9776 Point point;
9777 float num2 = Lighting.GetColor(point).ToVector3().Length();
9778 float num4;
9779 float num3 = MathHelper.Min(num4, num4);
9780 int num5 = 1;
9781 if (num5 == 0)
9782 {
9783 }
9784 int value = num5.m_value;
9791 float num7;
9792 float num6 = MathHelper.Lerp(num3, num4, num7);
9793 float num9;
9794 float num8 = MathHelper.Lerp(num3, num4, num9);
9795 float num10 = MathHelper.Lerp(num3, num3, num9);
9796 float num11 = MathHelper.Lerp(num3, num3, num9);
9798 float num12;
9799 Microsoft.Xna.Framework.Vector2 vector2 = num12.ToRotationVector2();
9800 int num13 = 17056;
9801 int num14 = 1;
9802 float num16;
9803 float num15 = Utils.Remap(num16, num3, num12, num3, num9, num14 != 0);
9804 float num17 = MathHelper.Lerp(num9, num3, num15);
9805 float num18 = MathHelper.Min(num17, num17);
9806 if (num13 == 0)
9807 {
9808 }
9810 float num19;
9813 if (!true)
9814 {
9815 }
9816 }
class f__AnonymousType0<< Count > j__TPar
static float Lerp(float value1, float value2, float amount)
Definition MathHelper.cs:61
static float Min(float value1, float value2)
Definition MathHelper.cs:76
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973

References Terraria.Lighting.GetColor(), j__TPar, Microsoft.Xna.Framework.Vector3.Length(), Microsoft.Xna.Framework.MathHelper.Lerp(), Microsoft.Xna.Framework.MathHelper.Min(), Terraria.Utils.Remap(), Terraria.Main.screenPosition, Microsoft.Xna.Framework.Graphics.Color.ToVector3(), and System.value.