M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Core.BannerData Class Reference

Public Member Functions

 BannerData (int meshId, int colorId, int colorId2, Vec2 size, Vec2 position, bool drawStroke, bool mirror, float rotationValue)
 
 BannerData (BannerData bannerData)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Public Attributes

int _colorId2
 
Vec2 _size
 
Vec2 _position
 
bool _drawStroke
 
bool _mirror
 
float _rotationValue
 

Static Public Attributes

const float RotationPrecision = 0.00278f
 

Properties

int LocalVersion [get]
 Version number of the BannerData. Gets incremented on every change.
 
int MeshId [get, set]
 
int ColorId [get, set]
 
int ColorId2 [get, set]
 
Vec2 Size [get, set]
 
Vec2 Position [get, set]
 
bool DrawStroke [get, set]
 
bool Mirror [get, set]
 
float RotationValue [get, set]
 
float Rotation [get]
 

Constructor & Destructor Documentation

◆ BannerData() [1/2]

TaleWorlds.Core.BannerData.BannerData ( int  meshId,
int  colorId,
int  colorId2,
Vec2  size,
Vec2  position,
bool  drawStroke,
bool  mirror,
float  rotationValue 
)

◆ BannerData() [2/2]

TaleWorlds.Core.BannerData.BannerData ( BannerData  bannerData)

Member Function Documentation

◆ Equals()

override bool TaleWorlds.Core.BannerData.Equals ( object  obj)

◆ GetHashCode()

override int TaleWorlds.Core.BannerData.GetHashCode ( )

Member Data Documentation

◆ RotationPrecision

const float TaleWorlds.Core.BannerData.RotationPrecision = 0.00278f
static

◆ _colorId2

int TaleWorlds.Core.BannerData._colorId2

◆ _size

Vec2 TaleWorlds.Core.BannerData._size

◆ _position

Vec2 TaleWorlds.Core.BannerData._position

◆ _drawStroke

bool TaleWorlds.Core.BannerData._drawStroke

◆ _mirror

bool TaleWorlds.Core.BannerData._mirror

◆ _rotationValue

float TaleWorlds.Core.BannerData._rotationValue

Property Documentation

◆ LocalVersion

int TaleWorlds.Core.BannerData.LocalVersion
get

◆ MeshId

int TaleWorlds.Core.BannerData.MeshId
getset

◆ ColorId

int TaleWorlds.Core.BannerData.ColorId
getset

◆ ColorId2

int TaleWorlds.Core.BannerData.ColorId2
getset

◆ Size

Vec2 TaleWorlds.Core.BannerData.Size
getset

◆ Position

Vec2 TaleWorlds.Core.BannerData.Position
getset

◆ DrawStroke

bool TaleWorlds.Core.BannerData.DrawStroke
getset

◆ Mirror

bool TaleWorlds.Core.BannerData.Mirror
getset

◆ RotationValue

float TaleWorlds.Core.BannerData.RotationValue
getset

◆ Rotation

float TaleWorlds.Core.BannerData.Rotation
get