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

◆ Collision_MoveSlopesAndStairFall()

void Terraria.NPC.Collision_MoveSlopesAndStairFall ( bool fall)
inlineprivate

Definition at line 9244 of file NPC.cs.

9245 {
9246 int num = 1;
9247 this.stairFall = num != 0;
9248 int num2 = this.aiStyle;
9249 Vector2 center = base.Center;
9250 int num3 = 32640;
9251 float y = this.position.Y;
9252 if (num3 == 0)
9253 {
9254 }
9255 if (num3 == 0)
9256 {
9257 }
9258 bool flag = this.townNPC;
9259 if (flag)
9260 {
9261 if (!flag)
9262 {
9263 }
9264 return;
9265 }
9266 if (!flag)
9267 {
9268 }
9269 if (num3 != 0)
9270 {
9271 if (num3 == 0)
9272 {
9273 }
9274 int height = this.height;
9275 float y2 = this.position.Y;
9276 int num4 = this.homeTileY;
9277 }
9278 int height2 = this.height;
9279 float y3 = this.position.Y;
9280 int num5 = this.homeTileY;
9281 int num6 = 1;
9282 this.stairFall = num6 != 0;
9283 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460
int aiStyle
Definition NPC.cs:11393
bool townNPC
Definition NPC.cs:11519
int homeTileY
Definition NPC.cs:11528

References Terraria.NPC.aiStyle, Terraria.Entity.height, Terraria.NPC.homeTileY, j__TPar, Terraria.Entity.position, Terraria.NPC.townNPC, and Microsoft.Xna.Framework.Vector2.Y.