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

◆ GrappleCanLatchOnTo()

static ? bool Terraria.ModLoader.ProjectileLoader.GrappleCanLatchOnTo ( Projectile projectile,
Player player,
int x,
int y )
inlinestatic

Definition at line 827 of file ProjectileLoader.cs.

828 {
829 bool? flag = projectile.ModProjectile?.GrappleCanLatchOnTo(player, x, y);
831 while (enumerator.MoveNext())
832 {
833 bool? globalFlag = enumerator.Current.GrappleCanLatchOnTo(projectile, player, x, y);
834 if (globalFlag.HasValue)
835 {
836 if (!globalFlag.Value)
837 {
838 return false;
839 }
841 }
842 }
843 return flag;
844 }
static GlobalHookList< GlobalProjectile > HookGrappleCanLatchOnTo

References Terraria.ModLoader.ProjectileLoader.HookGrappleCanLatchOnTo, and Terraria.Projectile.ModProjectile.

Referenced by Terraria.Projectile.AI_007_GrapplingHooks_CanTileBeLatchedOnTo().

+ Here is the caller graph for this function: