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

void Terraria.Main.DrawProj_FairyQueenLance ( Projectile proj)
inlineprivate

Definition at line 10272 of file Main.cs.

10273 {
10274 int num = 1;
10275 Microsoft.Xna.Framework.Vector2 center = proj.Center;
10276 if (num == 0)
10277 {
10278 }
10280 if (num == 0)
10281 {
10282 }
10283 Microsoft.Xna.Framework.Graphics.Color color = proj.AI_171_GetColor();
10286 if (17008 == 0)
10287 {
10288 }
10289 int num2 = 1;
10290 float num3;
10291 float num4;
10292 float lerpValue = Utils.GetLerpValue(num3, num4, num3, num2 != 0);
10293 float rotation = proj.rotation;
10296 float rotation2 = proj.rotation;
10299 int num5 = 1;
10300 float num6;
10301 float lerpValue2 = Utils.GetLerpValue(num6, num4, num6, num5 != 0);
10303 int num7 = 1;
10304 float num8;
10305 float lerpValue3 = Utils.GetLerpValue(num8, num4, num8, num7 != 0);
10307 long num10 = 0L;
10308 float num11;
10309 float lerpValue4 = Utils.GetLerpValue(num4, num4, num11, num10 != 0L);
10310 int num12 = 1;
10311 float num13;
10312 float lerpValue5 = Utils.GetLerpValue(num13, num4, num13, num12 != 0);
10313 float rotation3 = proj.rotation;
10314 Microsoft.Xna.Framework.Vector2 vector3 = num13.ToRotationVector2();
10315 if (49904 == 0)
10316 {
10317 }
10319 float rotation4 = proj.rotation;
10320 float rotation5 = proj.rotation;
10321 float rotation6 = proj.rotation;
10322 Microsoft.Xna.Framework.Vector2 vector4 = num13.ToRotationVector2();
10324 float rotation7 = proj.rotation;
10325 float rotation8 = proj.rotation;
10326 float rotation9 = proj.rotation;
10327 }
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.Utils.GetLerpValue(), j__TPar, Microsoft.Xna.Framework.Input.L, Microsoft.Xna.Framework.MathHelper.Lerp(), and Terraria.Main.screenPosition.