public int Vector2i.Distance(Vector2i v)
Executes the distance operation with the supplied arguments.
vVector2i- Specifies v.
Returns: The int result.
A two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.
Namespace: DreamPoeBot.Common
public struct Vector2iView DPB1 version โMembers declared by a base type are documented on that type. Follow these links to include them in your lookup.
public int Vector2i.Distance(Vector2i v)
Executes the distance operation with the supplied arguments.
vVector2iReturns: The int result.
DPB2 0.4.5.88 ยท Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.