DPB1Struct · Utilities and settings

Vector2i

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 Vector2i
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

1 declared here
Show all members

DistanceF

MethodLink ↗
public float Vector2i.DistanceF(Vector2i v)

Calls DistanceF on Vector2i with v and returns float. Open the return contract below before using the result.

Return type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

v

Specifies v.

Returns: The float result.

Inherited members and contracts

0 public members from documented base types and interfaces. Links open the original declaration; overrides are shown only once. Search using the member field above.

No dedicated example has been reviewed for this member. Browse the class reference; its examples may demonstrate other operations.

DPB1 0.3.29.56 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.