Table of Contents

Class SPScoreboardStatsVM

Namespace
TaleWorlds.MountAndBlade.ViewModelCollection.Scoreboard
Assembly
TaleWorlds.MountAndBlade.ViewModelCollection.dll
public class SPScoreboardStatsVM : ViewModel, IViewModel, INotifyPropertyChanged
Inheritance
SPScoreboardStatsVM
Implements
Inherited Members

Constructors

SPScoreboardStatsVM(TextObject)

public SPScoreboardStatsVM(TextObject name)

Parameters

name TextObject

Properties

Dead

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

Property Value

int

IsMainHero

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

Property Value

bool

IsMainParty

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

Property Value

bool

Kill

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

Property Value

int

NameText

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

Property Value

string

ReadyToUpgrade

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

Property Value

int

Remaining

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

Property Value

int

Routed

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

Property Value

int

Wounded

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

Property Value

int

Methods

GetScoreForOneAliveMember()

public SPScoreboardStatsVM GetScoreForOneAliveMember()

Returns

SPScoreboardStatsVM

IsAnyStatRelevant()

public bool IsAnyStatRelevant()

Returns

bool

RefreshValues()

public override void RefreshValues()

UpdateScores(int, int, int, int, int, int)

public void UpdateScores(int numberRemaining, int numberDead, int numberWounded, int numberRouted, int numberKilled, int numberReadyToUpgrade)

Parameters

numberRemaining int
numberDead int
numberWounded int
numberRouted int
numberKilled int
numberReadyToUpgrade int

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