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

◆ GrappleCanLatchOnTo()

virtual ? bool Terraria.ModLoader.GlobalProjectile.GrappleCanLatchOnTo ( Projectile projectile,
Player player,
int x,
int y )
inlinevirtual

Whether or not the grappling hook can latch onto the given position in tile coordinates.
This position may be air or an actuated tile!
Return true to make it latch, false to prevent it, or null to apply vanilla conditions. Returns null by default.

Definition at line 388 of file GlobalProjectile.cs.

389 {
390 return null;
391 }