Class DuelMatchVM
- 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
CountdownMessage
public string CountdownMessage { get; set; }
Property Value
FirstPlayer
public MPPlayerVM FirstPlayer { get; set; }
Property Value
FirstPlayerPeer
public MissionPeer FirstPlayerPeer { get; }
Property Value
FirstPlayerScore
public int FirstPlayerScore { get; set; }
Property Value
IsEnabled
public bool IsEnabled { get; set; }
Property Value
IsPreparing
public bool IsPreparing { get; set; }
Property Value
Score
public string Score { get; set; }
Property Value
SecondPlayer
public MPPlayerVM SecondPlayer { get; set; }
Property Value
SecondPlayerPeer
public MissionPeer SecondPlayerPeer { get; }
Property Value
SecondPlayerScore
public int SecondPlayerScore { get; set; }
Property Value
Methods
OnDuelEnded()
public void OnDuelEnded()
OnDuelPrepStarted(MissionPeer, int)
public void OnDuelPrepStarted(MissionPeer opponentPeer, int prepDuration)
Parameters
opponentPeer
MissionPeerprepDuration
int
OnDuelStarted(MissionPeer, MissionPeer, int)
public void OnDuelStarted(MissionPeer firstPeer, MissionPeer secondPeer, int arenaType)
Parameters
firstPeer
MissionPeersecondPeer
MissionPeerarenaType
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).