Table of Contents

Class MultiplayerClassLoadoutVM

Namespace
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.ClassLoadout
Assembly
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.dll
public class MultiplayerClassLoadoutVM : ViewModel
Inheritance
MultiplayerClassLoadoutVM

Constructors

MultiplayerClassLoadoutVM(MissionMultiplayerGameModeBaseClient, Action<MPHeroClass>, MPHeroClass)

public MultiplayerClassLoadoutVM(MissionMultiplayerGameModeBaseClient gameMode, Action<MultiplayerClassDivisions.MPHeroClass> onRefreshSelection, MultiplayerClassDivisions.MPHeroClass initialHeroSelection)

Parameters

gameMode MissionMultiplayerGameModeBaseClient
onRefreshSelection Action<MultiplayerClassDivisions.MPHeroClass>
initialHeroSelection MPHeroClass

Fields

UPDATE_INTERVAL

public const float UPDATE_INTERVAL = 1

Field Value

float

Properties

Classes

public MBBindingList<HeroClassGroupVM> Classes { get; set; }

Property Value

MBBindingList<HeroClassGroupVM>

Culture

public string Culture { get; set; }

Property Value

string

CultureColor1

public Color CultureColor1 { get; set; }

Property Value

Color

CultureColor2

public Color CultureColor2 { get; set; }

Property Value

Color

CultureId

public string CultureId { get; set; }

Property Value

string

CurrentSelectedClass

public HeroClassVM CurrentSelectedClass { get; set; }

Property Value

HeroClassVM

Enemies

public MBBindingList<MPPlayerVM> Enemies { get; set; }

Property Value

MBBindingList<MPPlayerVM>

Gold

public int Gold { get; set; }

Property Value

int

HeroInformation

public HeroInformationVM HeroInformation { get; set; }

Property Value

HeroInformationVM

IsAttacker

public bool IsAttacker { get; set; }

Property Value

bool

IsGoldEnabled

public bool IsGoldEnabled { get; set; }

Property Value

bool

IsInWarmup

public bool IsInWarmup { get; set; }

Property Value

bool

IsSpawnForfeitLabelVisible

public bool IsSpawnForfeitLabelVisible { get; set; }

Property Value

bool

IsSpawnLabelVisible

public bool IsSpawnLabelVisible { get; set; }

Property Value

bool

IsSpawnTimerVisible

public bool IsSpawnTimerVisible { get; set; }

Property Value

bool

RemainingTimeText

public string RemainingTimeText { get; set; }

Property Value

string

ShowAttackerOrDefenderIcons

public bool ShowAttackerOrDefenderIcons { get; set; }

Property Value

bool

SpawnForfeitLabelText

public string SpawnForfeitLabelText { get; set; }

Property Value

string

SpawnLabelText

public string SpawnLabelText { get; set; }

Property Value

string

Teammates

public MBBindingList<MPPlayerVM> Teammates { get; set; }

Property Value

MBBindingList<MPPlayerVM>

UseSecondary

public bool UseSecondary { get; set; }

Property Value

bool

WarmupInfoText

public string WarmupInfoText { get; set; }

Property Value

string

WarnRemainingTime

public bool WarnRemainingTime { get; set; }

Property Value

bool

Methods

OnFinalize()

public override void OnFinalize()

OnGoldUpdated()

public void OnGoldUpdated()

OnPeerEquipmentRefreshed(MissionPeer)

public void OnPeerEquipmentRefreshed(MissionPeer peer)

Parameters

peer MissionPeer

RefreshPeerDivision(MissionPeer, int)

public void RefreshPeerDivision(MissionPeer peer, int divisionType)

Parameters

peer MissionPeer
divisionType int

RefreshRemainingTime()

public void RefreshRemainingTime()

RefreshValues()

public override void RefreshValues()

Tick(float)

public void Tick(float dt)

Parameters

dt float

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