M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Library.Vec3i Struct Reference

Public Member Functions

 Vec3i (int x=0, int y=0, int z=0)
 
Vec3 ToVec3 ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 Returns a hash code for this instance. This value changes when one of the X, Y, or Z values changes. Therefore, do not put Vec3 objects to a Hash table. If you have to, then do not change any of the values of the object after it is put to a Hash table.
 
override string ToString ()
 

Static Public Member Functions

static bool operator== (Vec3i v1, Vec3i v2)
 
static bool operator!= (Vec3i v1, Vec3i v2)
 
static Vec3i operator* (Vec3i v, int mult)
 
static Vec3i operator+ (Vec3i v1, Vec3i v2)
 
static Vec3i operator- (Vec3i v1, Vec3i v2)
 

Public Attributes

int X
 
int Y
 
int Z
 

Static Public Attributes

static readonly Vec3i Zero = new Vec3i(0, 0, 0)
 

Properties

int this[int index] [get, set]
 

Constructor & Destructor Documentation

◆ Vec3i()

TaleWorlds.Library.Vec3i.Vec3i ( int  x = 0,
int  y = 0,
int  z = 0 
)

Member Function Documentation

◆ operator==()

static bool TaleWorlds.Library.Vec3i.operator== ( Vec3i  v1,
Vec3i  v2 
)
static

◆ operator!=()

static bool TaleWorlds.Library.Vec3i.operator!= ( Vec3i  v1,
Vec3i  v2 
)
static

◆ ToVec3()

Vec3 TaleWorlds.Library.Vec3i.ToVec3 ( )

◆ operator*()

static Vec3i TaleWorlds.Library.Vec3i.operator* ( Vec3i  v,
int  mult 
)
static

◆ operator+()

static Vec3i TaleWorlds.Library.Vec3i.operator+ ( Vec3i  v1,
Vec3i  v2 
)
static

◆ operator-()

static Vec3i TaleWorlds.Library.Vec3i.operator- ( Vec3i  v1,
Vec3i  v2 
)
static

◆ Equals()

override bool TaleWorlds.Library.Vec3i.Equals ( object  obj)

◆ GetHashCode()

override int TaleWorlds.Library.Vec3i.GetHashCode ( )
Returns
A hash code for this instance.

◆ ToString()

override string TaleWorlds.Library.Vec3i.ToString ( )

Member Data Documentation

◆ X

int TaleWorlds.Library.Vec3i.X

◆ Y

int TaleWorlds.Library.Vec3i.Y

◆ Z

int TaleWorlds.Library.Vec3i.Z

◆ Zero

readonly Vec3i TaleWorlds.Library.Vec3i.Zero = new Vec3i(0, 0, 0)
static

Property Documentation

◆ this[int index]

int TaleWorlds.Library.Vec3i.this[int index]
getset