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

◆ JumpMovement()

void Terraria.Player.JumpMovement ( )
inline

Definition at line 6421 of file Player.cs.

6422 {
6423 Mount mount = this.mount;
6424 long num4;
6425 if (mount._active)
6426 {
6428 if (this.wetSlime == 0)
6429 {
6430 float y = this.velocity.Y;
6431 Rectangle rect = this.getRect();
6432 int height = this.height;
6433 int num = 2;
6434 int num2 = 12;
6435 int num3 = 6;
6436 rect.Inflate(num2, num3);
6437 if (num == 0)
6438 {
6439 }
6440 num4 = 0L;
6442 bool flag = rectangle.Intersects(rectangle);
6443 float x = this.position.X;
6444 float y2 = this.position.Y;
6445 int width = this.width;
6446 bool wet = this.wet;
6447 }
6448 }
6449 Mount mount2 = this.mount;
6450 if (mount2._active)
6451 {
6452 int type = mount2._type;
6453 float y3 = this.velocity.Y;
6454 Rectangle rect2 = this.getRect();
6455 int height2 = this.height;
6456 long num5 = 0L;
6457 rect2.Offset((int)num5, (int)num4);
6458 int num6 = 2;
6459 int num7 = 12;
6460 int num8 = 6;
6461 rect2.Inflate(num7, num8);
6462 if (num6 == 0)
6463 {
6464 }
6467 float x2 = this.position.X;
6468 float y4 = this.position.Y;
6469 int width2 = this.width;
6470 bool wet2 = this.wet;
6471 }
6472 if (this.jumping)
6473 {
6474 this.IncreaseAirTime();
6475 return;
6476 }
6477 this.ResetAirTime();
6478 if (!this.controlJump)
6479 {
6480 int num9 = 1;
6481 this.releaseJump = num9 != 0;
6482 this.rocketRelease = num9 != 0;
6483 return;
6484 }
6485 if (this.sliding)
6486 {
6487 }
6488 if (this.wet)
6489 {
6490 bool flag3 = this.accFlipper;
6491 return;
6492 }
6493 Mount mount3 = this.mount;
6494 if (mount3._active)
6495 {
6496 bool cart = mount3.Cart;
6497 Mount mount4 = this.mount;
6498 if (mount4._active)
6499 {
6501 if (this.wetSlime != 0)
6502 {
6503 return;
6504 }
6505 }
6506 return;
6507 }
6508 Mount mount5 = this.mount;
6509 bool active = mount5._active;
6510 if (active)
6511 {
6512 int type2 = mount5._type;
6513 if (this.releaseJump)
6514 {
6515 float y5 = this.velocity.Y;
6516 int num10 = 1;
6518 }
6519 }
6520 int num11 = this.jump;
6521 float y6 = this.velocity.Y;
6522 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460
bool IsConsideredASlimeMount
Definition Mount.cs:480
void IncreaseAirTime()
Definition Player.cs:6389
Rectangle getRect()
Definition Player.cs:13625
void ResetAirTime()
Definition Player.cs:6408
void Inflate(int horizontalValue, int verticalValue)
Definition Rectangle.cs:423
void Intersects(Rectangle value, [Out] bool result)
Definition Rectangle.cs:263

References Terraria.Mount._active, Terraria.Mount._type, Terraria.Player.accFlipper, Terraria.Entity.active, Terraria.Mount.Cart, Terraria.Player.controlJump, Terraria.Player.getRect(), Terraria.Entity.height, Terraria.Player.IncreaseAirTime(), Microsoft.Xna.Framework.Rectangle.Inflate(), Microsoft.Xna.Framework.Rectangle.Intersects(), Terraria.Mount.IsConsideredASlimeMount, j__TPar, Terraria.Player.jump, Terraria.Player.jumping, System.L, Terraria.Player.mount, Microsoft.Xna.Framework.Rectangle.Offset(), Terraria.Entity.position, Terraria.Player.releaseJump, Terraria.Player.ResetAirTime(), Terraria.Player.sliding, Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Player.wetSlime, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.