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

◆ AI_188_LightsBane()

void Terraria.Projectile.AI_188_LightsBane ( )
inlineprivate

Definition at line 2269 of file Projectile.cs.

2270 {
2271 int num = this.soundDelay;
2272 if (num == 0)
2273 {
2274 this.soundDelay = num;
2275 if (num == 0)
2276 {
2277 }
2278 Vector2 center = base.Center;
2280 if (soundEffectInstance != null)
2281 {
2282 float volume = soundEffectInstance._volume;
2283 float num2;
2285 }
2286 }
2287 int num3 = this.frameCounter;
2289 int num4 = this.frame;
2290 this.frame = num4;
2291 float x = this.velocity.X;
2292 float y = this.velocity.Y;
2293 if (num4 == 0)
2294 {
2295 }
2296 float num5 = this.scale;
2297 float num6;
2298 Vector2 vector = num6.ToRotationVector2();
2299 int num7 = 16952;
2300 Vector2 center2 = base.Center;
2301 if (num7 == 0)
2302 {
2303 }
2304 Vector2 center3 = base.Center;
2305 if (16912 == 0)
2306 {
2307 }
2308 int num8 = 1;
2309 int num9 = 257;
2310 Dust dust;
2311 dust.noGravity = num8 != 0;
2312 dust.noLight = num9 != 0;
2313 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463

References Microsoft.Xna.Framework.Audio.SoundEffectInstance._volume, Terraria.Projectile.frame, Terraria.Projectile.frameCounter, j__TPar, Terraria.Projectile.scale, Terraria.Projectile.soundDelay, Terraria.Entity.velocity, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.