TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ HitboxForBestiaryNearbyCheck

Rectangle Terraria.Player.HitboxForBestiaryNearbyCheck
get

Definition at line 3664 of file Player.cs.

3665 {
3666 get
3667 {
3668 //IL_003c: Unknown result type (might be due to invalid IL or missing references)
3669 Rectangle result = default(Rectangle);
3670 ((Rectangle)(ref result))._002Ector((int)position.X, (int)position.Y, width, height);
3671 ((Rectangle)(ref result)).Inflate(300, 200);
3672 return result;
3673 }
3674 }
Vector2 position
The position of this Entity in world coordinates.
Definition Entity.cs:28
int width
The width of this Entity's hitbox, in pixels.
Definition Entity.cs:46
int height
The height of this Entity's hitbox, in pixels.
Definition Entity.cs:51

Referenced by Terraria.GameContent.Bestiary.NPCWasNearPlayerTracker.ScanWorldForFinds().