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

◆ IsProjectileInteractibleAndInInteractionRange()

bool Terraria.Player.IsProjectileInteractibleAndInInteractionRange ( Projectile proj,
ref Vector2 compareSpot )
inline

Definition at line 21107 of file Player.cs.

21108 {
21109 //IL_0015: Unknown result type (might be due to invalid IL or missing references)
21110 //IL_001b: Unknown result type (might be due to invalid IL or missing references)
21111 //IL_0020: Unknown result type (might be due to invalid IL or missing references)
21112 //IL_0025: Unknown result type (might be due to invalid IL or missing references)
21113 //IL_002a: Unknown result type (might be due to invalid IL or missing references)
21114 //IL_002c: Unknown result type (might be due to invalid IL or missing references)
21115 //IL_0032: Unknown result type (might be due to invalid IL or missing references)
21116 if (!proj.active)
21117 {
21118 return false;
21119 }
21120 if (!proj.IsInteractible())
21121 {
21122 return false;
21123 }
21124 Point point = proj.Hitbox.ClosestPointInRect(compareSpot).ToTileCoordinates();
21126 {
21127 return false;
21128 }
21129 return true;
21130 }
bool IsInTileInteractionRange(int targetX, int targetY, TileReachCheckSettings settings)
Definition Player.cs:29825

References Terraria.Player.IsInTileInteractionRange(), and Terraria.DataStructures.TileReachCheckSettings.Simple.

Referenced by Terraria.Player.UpdateNearbyInteractibleProjectilesList().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: