Table of Contents

Class SPScoreboardUnitVM

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

Constructors

SPScoreboardUnitVM(BasicCharacterObject)

public SPScoreboardUnitVM(BasicCharacterObject character)

Parameters

character BasicCharacterObject

Fields

Character

public readonly BasicCharacterObject Character

Field Value

BasicCharacterObject

Properties

GainedSkills

[DataSourceProperty]
public MBBindingList<SPScoreboardSkillItemVM> GainedSkills { get; set; }

Property Value

MBBindingList<SPScoreboardSkillItemVM>

IsGainedAnySkills

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

Property Value

bool

IsHero

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

Property Value

bool

Score

[DataSourceProperty]
public SPScoreboardStatsVM Score { get; set; }

Property Value

SPScoreboardStatsVM

Methods

RefreshValues()

public override void RefreshValues()

UpdateHeroSkills(SkillObject, int)

public void UpdateHeroSkills(SkillObject gainedSkill, int currentSkill)

Parameters

gainedSkill SkillObject
currentSkill int

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).