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

void Terraria.Projectile.AI_189_Volcano ( )
inlineprivate

Definition at line 2316 of file Projectile.cs.

2317 {
2318 int num = this.soundDelay;
2319 if (num == 0)
2320 {
2321 this.soundDelay = num;
2322 if (num == 0)
2323 {
2324 }
2325 Vector2 center = base.Center;
2326 }
2327 if (num == 0)
2328 {
2329 }
2330 int num2 = 17279;
2331 int num3 = 32768;
2332 this.alpha = num2;
2333 int num4 = this.frameCounter;
2335 int num5 = this.frame;
2336 this.frame = num5;
2337 if (20 != 0)
2338 {
2340 {
2341 }
2342 Vector2 center2 = base.Center;
2343 float x = this.velocity.X;
2344 float y = this.velocity.Y;
2345 return;
2346 }
2347 int num6 = 1;
2348 Vector2 center3 = base.Center;
2349 if (num3 == 0)
2350 {
2351 }
2352 float x2 = this.velocity.X;
2353 float y2 = this.velocity.Y;
2354 Dust dust;
2355 float x3 = dust.velocity.X;
2356 float y3 = dust.velocity.Y;
2357 dust.noGravity = num6 != 0;
2360 Vector2 center4 = base.Center;
2361 if (num3 == 0)
2362 {
2363 }
2364 float x4 = this.velocity.X;
2365 float y4 = this.velocity.Y;
2366 if (num3 == 0)
2367 {
2368 }
2369 int num7 = 1;
2370 Vector2 center5 = base.Center;
2371 if (num3 == 0)
2372 {
2373 }
2374 float x5 = this.velocity.X;
2375 float y5 = this.velocity.Y;
2376 int num8 = 16256;
2377 Dust dust2;
2378 dust2.noGravity = num7 != 0;
2379 dust2.fadeIn = (float)num8;
2380 float x6 = dust2.position.X;
2381 float y6 = dust2.position.Y;
2382 Vector2 vector;
2383 float num9 = vector.Length();
2384 if (num8 == 0)
2385 {
2386 }
2389 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463

References Terraria.Projectile.frame, Terraria.Projectile.frameCounter, j__TPar, Microsoft.Xna.Framework.Vector2.Length(), Terraria.Dust.position, Terraria.Projectile.soundDelay, Terraria.Dust.velocity, Terraria.Entity.velocity, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.