public CanUseGrapple ( |
||
player | ||
리턴 | bool? |
public virtual bool? CanUseGrapple(Player player)
{
return null;
}
public static bool?CanUseGrapple(int type, Player player) { bool? flag = null; ModProjectile modProjectile = GetProjectile(type); if (modProjectile != null) { flag = modProjectile.CanUseGrapple(player); } foreach (GlobalProjectile globalProjectile in globalProjectiles) { bool?canGrapple = globalProjectile.CanUseGrapple(type, player); if (canGrapple.HasValue) { flag = canGrapple; } } return(flag); }