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

◆ UpdatePortableStoolUsage()

void Terraria.Player.UpdatePortableStoolUsage ( )
inlineprivate

Definition at line 8395 of file Player.cs.

8396 {
8397 while (this.portableStoolInfo != null && this.controlUp && !this.gravControl && !this.mount._active)
8398 {
8399 float x = this.velocity.X;
8400 float y = this.velocity.Y;
8401 if (!this.pulley)
8402 {
8403 int[] array = this.grappling;
8404 int heightBoost = this.portableStoolInfo.HeightBoost;
8405 bool flag = this.CanFitSpace(heightBoost);
8407 this.ResizeHitbox();
8408 return;
8409 }
8410 }
8411 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
PortableStoolUsage portableStoolInfo
Definition Player.cs:20984
bool CanFitSpace(int heightBoost)
Definition Player.cs:2792
void ResizeHitbox()
Definition Player.cs:8414

References Terraria.Mount._active, System.array, Terraria.Player.CanFitSpace(), Terraria.Player.controlUp, Terraria.Player.grappling, Terraria.Player.gravControl, Terraria.DataStructures.PortableStoolUsage.HeightBoost, j__TPar, Terraria.Player.mount, Terraria.Player.portableStoolInfo, Terraria.Player.pulley, Terraria.Player.ResizeHitbox(), Terraria.Entity.velocity, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.