public int Vector2i.X
Reads or assigns x on Vector2i as int. The exact type and accessors are shown below.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.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 Vector2ipublic int Vector2i.X
Reads or assigns x on Vector2i as int. The exact type and accessors are shown below.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public int Vector2i.Y
Reads or assigns y on Vector2i as int. The exact type and accessors are shown below.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.public Vector2i.Vector2i()
Creates a new Vector2i instance.
public Vector2i.Vector2i(Vector2i vector)
Creates a new Vector2i instance using the supplied arguments.
vectorVector2iSpecifies vector.
public Vector2i.Vector2i(int x, int y)
Creates a new Vector2i instance using the supplied arguments.
xintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies x.
yintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies y.
public static void Vector2i.Add(ref Vector2i v1, ref Vector2i v2, out Vector2i result)
Calls Add on Vector2i with v1, v2, result. This overload has no return value.
voidNo return value.v1Vector2iSupplies and may update v1.
v2Vector2iSupplies and may update v2.
resultVector2iReceives result.
public int Vector2i.Distance(Vector2i v)
Calls Distance on Vector2i with v and returns int. Open the return contract below before using the result.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.vVector2iSpecifies v.
Returns: The int result.
public int Vector2i.Distance(ref Vector2i v)
Calls Distance on Vector2i with v and returns int. Open the return contract below before using the result.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.vVector2iSupplies and may update v.
Returns: The int result.
public static int Vector2i.Distance(ref Vector2i v1, ref Vector2i v2)
Calls Distance on Vector2i with v1, v2 and returns int. Open the return contract below before using the result.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.v1Vector2iSupplies and may update v1.
v2Vector2iSupplies and may update v2.
Returns: The int result.
public float Vector2i.DistanceF(Vector2i v)
Calls DistanceF on Vector2i with v and returns float. Open the return contract below before using the result.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.vVector2iSpecifies v.
Returns: The float result.
public static float Vector2i.DistanceF(ref Vector2i v1, ref Vector2i v2)
Calls DistanceF on Vector2i with v1, v2 and returns float. Open the return contract below before using the result.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.v1Vector2iSupplies and may update v1.
v2Vector2iSupplies and may update v2.
Returns: The float result.
public int Vector2i.DistanceSqr(Vector2i v)
Calls DistanceSqr on Vector2i with v and returns int. Open the return contract below before using the result.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.vVector2iSpecifies v.
Returns: The int result.
public int Vector2i.DistanceSqr(ref Vector2i v)
Calls DistanceSqr on Vector2i with v and returns int. Open the return contract below before using the result.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.vVector2iSupplies and may update v.
Returns: The int result.
public static int Vector2i.DistanceSqr(ref Vector2i v1, ref Vector2i v2)
Calls DistanceSqr on Vector2i with v1, v2 and returns int. Open the return contract below before using the result.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.v1Vector2iSupplies and may update v1.
v2Vector2iSupplies and may update v2.
Returns: The int result.
public static void Vector2i.Divide(ref Vector2i v1, ref Vector2i v2, out Vector2i result)
Calls Divide on Vector2i with v1, v2, result. This overload has no return value.
voidNo return value.v1Vector2iSupplies and may update v1.
v2Vector2iSupplies and may update v2.
resultVector2iReceives result.
public static void Vector2i.Divide(ref Vector2i v1, int divisor, out Vector2i result)
Calls Divide on Vector2i with v1, divisor, result. This overload has no return value.
voidNo return value.v1Vector2iSupplies and may update v1.
divisorintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies divisor.
resultVector2iReceives result.
public static int Vector2i.Dot(Vector2i v1, Vector2i v2)
Calls Dot on Vector2i with v1, v2 and returns int. Open the return contract below before using the result.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.v1Vector2iSpecifies v1.
v2Vector2iSpecifies v2.
Returns: The int result.
public bool Vector2i.Equals(Vector2i other)
Checks whether this value equals the supplied value.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.otherVector2iSpecifies other.
Returns: A Boolean result. The member description explains the condition being checked.
public bool Vector2i.Equals(ref Vector2i other)
Checks whether this value equals the supplied value.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.otherVector2iSupplies and may update other.
Returns: A Boolean result. The member description explains the condition being checked.
public static bool Vector2i.Equals(ref Vector2i v1, ref Vector2i v2)
Checks whether this value equals the supplied value.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.v1Vector2iSupplies and may update v1.
v2Vector2iSupplies and may update v2.
Returns: A Boolean result. The member description explains the condition being checked.
public override bool Vector2i.Equals(object obj)
Checks whether this value equals the supplied value.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.objobjectNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies obj.
Returns: A Boolean result. The member description explains the condition being checked.
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.
voidNo return value.fromVector2iSupplies and may update from.
toVector2iSupplies and may update to.
dirVector2iReceives dir.
public override int Vector2i.GetHashCode()
Returns a hash code for comparing or indexing this value.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Returns: The int result.
public Vector2i Vector2i.GetPointAtDistanceAfterEnd(Vector2i end, float distance)
Calls GetPointAtDistanceAfterEnd on Vector2i with end, distance and returns Vector2i. Open the return contract below before using the result.
Vector2iA two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.
endVector2iSpecifies end.
distancefloatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies distance.
Returns: The Vector2i result.
public Vector2i Vector2i.GetPointAtDistanceAfterThis(Vector2i end, float distance)
Calls GetPointAtDistanceAfterThis on Vector2i with end, distance and returns Vector2i. Open the return contract below before using the result.
Vector2iA two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.
endVector2iSpecifies end.
distancefloatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies distance.
Returns: The Vector2i result.
public Vector2i Vector2i.GetPointAtDistanceBeforeEnd(Vector2i end, float distance)
Calls GetPointAtDistanceBeforeEnd on Vector2i with end, distance and returns Vector2i. Open the return contract below before using the result.
Vector2iA two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.
endVector2iSpecifies end.
distancefloatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies distance.
Returns: The Vector2i result.
public Vector2i Vector2i.GetPointAtDistanceBeforeThis(Vector2i end, float distance)
Calls GetPointAtDistanceBeforeThis on Vector2i with end, distance and returns Vector2i. Open the return contract below before using the result.
Vector2iA two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.
endVector2iSpecifies end.
distancefloatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies distance.
Returns: The Vector2i result.
public int Vector2i.Length()
Calls Length on Vector2i without arguments and returns int. Open the return contract below before using the result.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Returns: The int result.
public int Vector2i.LengthSqr()
Calls LengthSqr on Vector2i without arguments and returns int. Open the return contract below before using the result.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Returns: The int result.
public static Vector2i Vector2i.Max(Vector2i v1, Vector2i v2)
Calls Max on Vector2i with v1, v2 and returns Vector2i. Open the return contract below before using the result.
Vector2iA two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.
v1Vector2iSpecifies v1.
v2Vector2iSpecifies v2.
Returns: The Vector2i result.
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.
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.