Table of Contents

Class DuelMatchVM

Namespace
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.HUDExtensions
Assembly
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.dll
public class DuelMatchVM : ViewModel
Inheritance
DuelMatchVM

Constructors

DuelMatchVM()

public DuelMatchVM()

Properties

ArenaType

public int ArenaType { get; set; }

Property Value

int

CountdownMessage

public string CountdownMessage { get; set; }

Property Value

string

FirstPlayer

public MPPlayerVM FirstPlayer { get; set; }

Property Value

MPPlayerVM

FirstPlayerPeer

public MissionPeer FirstPlayerPeer { get; }

Property Value

MissionPeer

FirstPlayerScore

public int FirstPlayerScore { get; set; }

Property Value

int

IsEnabled

public bool IsEnabled { get; set; }

Property Value

bool

IsPreparing

public bool IsPreparing { get; set; }

Property Value

bool

Score

public string Score { get; set; }

Property Value

string

SecondPlayer

public MPPlayerVM SecondPlayer { get; set; }

Property Value

MPPlayerVM

SecondPlayerPeer

public MissionPeer SecondPlayerPeer { get; }

Property Value

MissionPeer

SecondPlayerScore

public int SecondPlayerScore { get; set; }

Property Value

int

Methods

OnDuelEnded()

public void OnDuelEnded()

OnDuelPrepStarted(MissionPeer, int)

public void OnDuelPrepStarted(MissionPeer opponentPeer, int prepDuration)

Parameters

opponentPeer MissionPeer
prepDuration int

OnDuelStarted(MissionPeer, MissionPeer, int)

public void OnDuelStarted(MissionPeer firstPeer, MissionPeer secondPeer, int arenaType)

Parameters

firstPeer MissionPeer
secondPeer MissionPeer
arenaType int

OnPeerScored(MissionPeer)

public void OnPeerScored(MissionPeer peer)

Parameters

peer MissionPeer

RefreshNames(bool)

public void RefreshNames(bool changeGenericNames = false)

Parameters

changeGenericNames bool

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