Table of Contents

Class C3IVector

Namespace
WoWLib.Formats.Common
Assembly
WoWLib.dll

A 3D integer vector.

public class C3IVector : IDisposable
Inheritance
C3IVector
Implements
Inherited Members

Constructors

C3IVector()

public C3IVector()

C3IVector(int, int, int)

public C3IVector(int x, int y, int z)

Parameters

x int
y int
z int

C3IVector(C3IVector)

Copy-construct: a deep copy of other (the C++ copy constructor).

public C3IVector(C3IVector other)

Parameters

other C3IVector

Properties

X

The x component.

public int X { get; set; }

Property Value

int

Y

The y component.

public int Y { get; set; }

Property Value

int

Z

The z component.

public int Z { get; set; }

Property Value

int

Methods

Dispose()

Release the native object now. Optional: the finalizer releases it on collection anyway - dispose (or using) when you want native memory back promptly.

public virtual void Dispose()

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Reference-identity hash (the C++ type has no hash to mirror).

public override int GetHashCode()

Returns

int

Operators

operator ==(C3IVector?, C3IVector?)

public static bool operator ==(C3IVector? l, C3IVector? r)

Parameters

l C3IVector
r C3IVector

Returns

bool

operator !=(C3IVector?, C3IVector?)

public static bool operator !=(C3IVector? l, C3IVector? r)

Parameters

l C3IVector
r C3IVector

Returns

bool