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

Members and overloads

1 declared here
Show all members

GetDirection

MethodLink ↗
public static void Vector2i.GetDirection(ref Vector2i from, ref Vector2i to, out Vector2i dir)

Calls GetDirection on Vector2i with from, to, dir. This overload has no return value.

Return type: voidNo return value.

Parameters

from

Supplies and may update from.

to

Supplies and may update to.

dir

Receives dir.

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.

DPB2 0.4.5.103 · 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.