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

Inherits IEquatable< Vec2i >.

Public Member Functions

 Vec2i (int x=0, int y=0)
 
override bool Equals (object obj)
 
bool Equals (Vec2i value)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator== (Vec2i a, Vec2i b)
 
static bool operator!= (Vec2i a, Vec2i b)
 

Public Attributes

int X
 
int Y
 

Static Public Attributes

static readonly Vec2i Side = new Vec2i(1, 0)
 
static readonly Vec2i Forward = new Vec2i(0, 1)
 
static readonly Vec2i One = new Vec2i(1, 1)
 
static readonly Vec2i Zero = new Vec2i(0, 0)
 

Properties

int Item1 [get]
 
int Item2 [get]
 

Constructor & Destructor Documentation

◆ Vec2i()

TaleWorlds.Library.Vec2i.Vec2i ( int  x = 0,
int  y = 0 
)

Member Function Documentation

◆ operator==()

static bool TaleWorlds.Library.Vec2i.operator== ( Vec2i  a,
Vec2i  b 
)
static

◆ operator!=()

static bool TaleWorlds.Library.Vec2i.operator!= ( Vec2i  a,
Vec2i  b 
)
static

◆ Equals() [1/2]

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

◆ Equals() [2/2]

bool TaleWorlds.Library.Vec2i.Equals ( Vec2i  value)

◆ GetHashCode()

override int TaleWorlds.Library.Vec2i.GetHashCode ( )

Member Data Documentation

◆ X

int TaleWorlds.Library.Vec2i.X

◆ Y

int TaleWorlds.Library.Vec2i.Y

◆ Side

readonly Vec2i TaleWorlds.Library.Vec2i.Side = new Vec2i(1, 0)
static

◆ Forward

readonly Vec2i TaleWorlds.Library.Vec2i.Forward = new Vec2i(0, 1)
static

◆ One

readonly Vec2i TaleWorlds.Library.Vec2i.One = new Vec2i(1, 1)
static

◆ Zero

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

Property Documentation

◆ Item1

int TaleWorlds.Library.Vec2i.Item1
get

◆ Item2

int TaleWorlds.Library.Vec2i.Item2
get