public static bool ExilePather.CanObjectSee(NetworkObject obj, Vector2i position, out Vector2i hitPoint, bool dontLeaveFrame = false, bool shouldUseRangedMap = false)
Returns whether there is clear line-of-sight from obj to a map position and reports the hit point if blocked.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Parameters
obj- Parameter type:
NetworkObjectSource object.
position- Parameter type:
Vector2iTarget position.
hitPoint- Parameter type:
Vector2iOn failure, set to the first blocking point; otherwise DreamPoeBot.Common.Vector2i.Zero.
dontLeaveFrame- Parameter type:
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Not used; kept for compatibility.
shouldUseRangedMap- Parameter type:
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.If true, uses ranged/fly map for evaluation.
Returns: true if unobstructed; otherwise false.