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

◆ ItemCheck_GetMeleeHitbox()

void Terraria.Player.ItemCheck_GetMeleeHitbox ( Item sItem,
Rectangle heldItemFrame,
[Out] bool dontAttack,
[Out] Rectangle itemRectangle )
inlineprivate

Definition at line 15348 of file Player.cs.

15349 {
15350 float x = this.itemLocation.X;
15351 float y = this.itemLocation.Y;
15352 int num = 32640;
15353 if (num == 0)
15354 {
15355 }
15356 if (num == 0)
15357 {
15358 int type = sItem.type;
15359 return;
15360 }
15361 bool melee = sItem.melee;
15362 float scale = sItem.scale;
15363 if (!melee || this.meleeScaleGlove)
15364 {
15365 }
15366 int direction = this.direction;
15367 float num2 = this.gravDir;
15368 byte useStyle = sItem.useStyle;
15369 int num3 = this.itemAnimationMax;
15370 int num4 = this.itemAnimation;
15371 int direction2 = this.direction;
15372 }
class f__AnonymousType0<< Count > j__TPar
Microsoft.Xna.Framework.Vector2 itemLocation
Definition Player.cs:21152
bool meleeScaleGlove
Definition Player.cs:22400

References Terraria.Entity.direction, Terraria.Player.gravDir, Terraria.Player.itemAnimation, Terraria.Player.itemAnimationMax, Terraria.Player.itemLocation, j__TPar, and Terraria.Player.meleeScaleGlove.