public int Vector2i.DistanceSqr(ref Vector2i v)
Executes the distance sqr operation with the supplied arguments.
vVector2i- Supplies and may update 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 DPB2 version โMembers declared by a base type are documented on that type. Follow these links to include them in your lookup.
public int Vector2i.DistanceSqr(ref Vector2i v)
Executes the distance sqr operation with the supplied arguments.
vVector2iReturns: The int result.
DPB1 0.3.29.47 ยท 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.