public static bool ExilePather.CanObjectSee(NetworkObject obj, NetworkObject other, out Vector2i hitPoint, bool dontLeaveFrame = false, bool shouldUseRangedMap = false)
Returns whether there is clear line-of-sight between two DreamPoeBot.Loki.Game.Objects.NetworkObject instances 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.
other- Parameter type:
NetworkObjectTarget object.
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.