Table of Contents

Class CompassTargetVM

Namespace
TaleWorlds.MountAndBlade.ViewModelCollection.HUD.Compass
Assembly
TaleWorlds.MountAndBlade.ViewModelCollection.dll
public class CompassTargetVM : ViewModel, IViewModel, INotifyPropertyChanged
Inheritance
CompassTargetVM
Implements
Inherited Members

Constructors

CompassTargetVM(TargetIconType, uint, uint, BannerCode, bool, bool)

public CompassTargetVM(TargetIconType iconType, uint color, uint color2, BannerCode bannercode, bool isAttacker, bool isAlly)

Parameters

iconType TargetIconType
color uint
color2 uint
bannercode BannerCode
isAttacker bool
isAlly bool

Properties

Banner

[DataSourceProperty]
public ImageIdentifierVM Banner { get; set; }

Property Value

ImageIdentifierVM

Color

[DataSourceProperty]
public string Color { get; set; }

Property Value

string

Color2

[DataSourceProperty]
public string Color2 { get; set; }

Property Value

string

Distance

[DataSourceProperty]
public int Distance { get; set; }

Property Value

int

FullPosition

[DataSourceProperty]
public float FullPosition { get; set; }

Property Value

float

IconSpriteType

[DataSourceProperty]
public string IconSpriteType { get; set; }

Property Value

string

IconType

[DataSourceProperty]
public string IconType { get; set; }

Property Value

string

IsAttacker

[DataSourceProperty]
public bool IsAttacker { get; set; }

Property Value

bool

IsEnemy

[DataSourceProperty]
public bool IsEnemy { get; set; }

Property Value

bool

IsFlag

[DataSourceProperty]
public bool IsFlag { get; set; }

Property Value

bool

LetterCode

[DataSourceProperty]
public string LetterCode { get; set; }

Property Value

string

Position

[DataSourceProperty]
public float Position { get; set; }

Property Value

float

Methods

Refresh(float, float, float)

public virtual void Refresh(float circleX, float x, float distance)

Parameters

circleX float
x float
distance float

RefreshColor(uint, uint)

public void RefreshColor(uint color, uint color2)

Parameters

color uint
color2 uint

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).