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

◆ MoveInWorld()

void Terraria.Item.MoveInWorld ( float gravity,
float maxFallSpeed,
Vector2 wetVelocity,
int i )
inlineprivate

Definition at line 1397 of file Item.cs.

1398 {
1399 long num;
1400 if (!this.shimmered)
1401 {
1402 float x = this.velocity.X;
1403 num = -1717986919L;
1404 this.velocity.X = x;
1405 return;
1406 }
1407 if (this.active)
1408 {
1409 int width = this.width;
1410 Vector2 center = base.Center;
1411 Vector2 center2 = base.Center;
1412 Vector2 center3 = base.Center;
1413 Vector2 center4 = base.Center;
1414 float x2 = this.velocity.X;
1416 return;
1417 }
1418 float x3 = this.velocity.X;
1419 float y = this.velocity.Y;
1420 this.velocity.Y = y;
1421 float x4 = this.position.X;
1422 float y2 = this.position.Y;
1423 int width2 = this.width;
1424 bool wet = this.wet;
1425 int num2 = 1;
1426 this.lavaWet = num2 != 0;
1427 float x5 = this.position.X;
1428 float y3 = this.position.Y;
1429 int width3 = this.width;
1430 bool wet2 = this.wet;
1431 if (num2 == 0)
1432 {
1433 }
1434 int num3;
1435 if (num != 0L)
1436 {
1437 num3 = 1;
1438 this.honeyWet = num3 != 0;
1439 }
1440 if (num3 == 0)
1441 {
1442 }
1443 bool wet3 = this.wet;
1444 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460
bool shimmered
Definition Item.cs:2416

References Terraria.Entity.active, j__TPar, System.L, Terraria.Entity.position, Terraria.Item.shimmered, Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.