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

◆ MakeTransitionEffectsForTextureChanges()

void Terraria.NPC.MakeTransitionEffectsForTextureChanges ( int oldAltTexture,
int currentAltTexture )
inlineprivate

Definition at line 7343 of file NPC.cs.

7344 {
7345 int num = 1;
7346 if (oldAltTexture == 0)
7347 {
7348 float x = this.position.X;
7349 float y = this.position.Y;
7350 int width = this.width;
7351 bool wet = this.wet;
7352 if (num == 0)
7353 {
7354 }
7355 }
7356 if (currentAltTexture == 0)
7357 {
7358 float x2 = this.position.X;
7359 float y2 = this.position.Y;
7360 }
7361 int num2 = this.type;
7362 if (num2 != 0)
7363 {
7364 int num3 = 1;
7365 int num4 = 16384;
7366 float x3 = this.position.X;
7367 float y3 = this.position.Y;
7368 int width2 = this.width;
7369 bool wet2 = this.wet;
7370 if (num2 == 0)
7371 {
7372 }
7373 Dust dust;
7374 dust.noGravity = num3 != 0;
7375 dust.scale = (float)num4;
7376 }
7377 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460

References j__TPar, Terraria.Entity.position, Terraria.NPC.type, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.