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

void Terraria.Main.DrawProj_PiercingStarlight ( Projectile proj)
inlineprivate

Definition at line 10205 of file Main.cs.

10206 {
10207 if (!true)
10208 {
10209 }
10210 int num = 32640;
10211 int type = proj.type;
10212 int num2 = 32768;
10213 Microsoft.Xna.Framework.Vector2 center = proj.Center;
10214 float rotation = proj.rotation;
10215 if (num == 0)
10216 {
10217 }
10218 float num3;
10219 Microsoft.Xna.Framework.Vector2 vector = num3.ToRotationVector2();
10220 if (num == 0)
10221 {
10222 }
10223 if (num == 0)
10224 {
10225 }
10226 if (num2 == 0)
10227 {
10228 }
10230 if (num2 == 0)
10231 {
10232 }
10233 Point point;
10234 Microsoft.Xna.Framework.Graphics.Color color = Lighting.GetColor(point);
10235 if (num2 == 0)
10236 {
10237 }
10238 if (num2 == 0)
10239 {
10240 }
10241 float num5;
10242 float num6;
10243 float num7;
10244 float num4 = MathHelper.Lerp(num5, num6, num7);
10245 float rotation2 = proj.rotation;
10246 float num8;
10247 Microsoft.Xna.Framework.Vector2 vector2 = num8.ToRotationVector2();
10249 float rotation3 = proj.rotation;
10250 if (16968 == 0)
10251 {
10252 }
10253 int num9 = 1;
10254 float num10;
10255 float lerpValue = Utils.GetLerpValue(num10, num8, num10, num9 != 0);
10256 int num11 = 1;
10257 float lerpValue2 = Utils.GetLerpValue(lerpValue, num8, num10, num11 != 0);
10258 int num12 = 1;
10259 float lerpValue3 = Utils.GetLerpValue(lerpValue2, num8, num10, num12 != 0);
10260 int num13 = 1;
10261 float lerpValue4 = Utils.GetLerpValue(lerpValue3, num8, num10, num13 != 0);
10262 float num14 = MathHelper.Lerp(num6, num8, num10);
10263 float num15;
10264 Microsoft.Xna.Framework.Vector2 vector3 = num15.ToRotationVector2();
10265 float num17;
10266 float num16 = MathHelper.Lerp(num15, num17, num10);
10267 Microsoft.Xna.Framework.Vector2 vector4 = num10.ToRotationVector2();
10269 }
class f__AnonymousType0<< Count > j__TPar
static float Lerp(float value1, float value2, float amount)
Definition MathHelper.cs:61
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973

References Terraria.Lighting.GetColor(), Terraria.Utils.GetLerpValue(), j__TPar, Microsoft.Xna.Framework.MathHelper.Lerp(), and Terraria.Main.screenPosition.