Table of Contents

Class MPMatchmakingVM

Namespace
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.Lobby
Assembly
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.dll
public class MPMatchmakingVM : ViewModel
Inheritance
MPMatchmakingVM

Constructors

MPMatchmakingVM(LobbyState, Action<LobbyPage>, Action<string, bool>, Action<bool>)

public MPMatchmakingVM(LobbyState lobbyState, Action<MPLobbyVM.LobbyPage> onChangePageRequest, Action<string, bool> onMatchSelectionChanged, Action<bool> onGameFindRequestStateChanged)

Parameters

lobbyState LobbyState
onChangePageRequest Action<MPLobbyVM.LobbyPage>
onMatchSelectionChanged Action<string, bool>
onGameFindRequestStateChanged Action<bool>

Properties

AutoFindText

public string AutoFindText { get; set; }

Property Value

string

CasualText

public string CasualText { get; set; }

Property Value

string

CommunityGameText

public string CommunityGameText { get; set; }

Property Value

string

CurrentSubPage

public MPMatchmakingVM.MatchmakingSubPages CurrentSubPage { get; }

Property Value

MPMatchmakingVM.MatchmakingSubPages

CustomGameText

public string CustomGameText { get; set; }

Property Value

string

CustomGameTypes

public MBBindingList<MPMatchmakingItemVM> CustomGameTypes { get; set; }

Property Value

MBBindingList<MPMatchmakingItemVM>

CustomServer

public MPCustomGameVM CustomServer { get; set; }

Property Value

MPCustomGameVM

CustomServerListText

public string CustomServerListText { get; set; }

Property Value

string

HasUnofficialModulesLoaded

public bool HasUnofficialModulesLoaded { get; set; }

Property Value

bool

IsClansFeatureSupported

public bool IsClansFeatureSupported { get; set; }

Property Value

bool

IsCustomGameStageFindEnabled

public bool IsCustomGameStageFindEnabled { get; set; }

Property Value

bool

IsCustomGamesEnabled

public bool IsCustomGamesEnabled { get; set; }

Property Value

bool

IsCustomServerFeatureSupported

public bool IsCustomServerFeatureSupported { get; set; }

Property Value

bool

IsCustomServerListEnabled

public bool IsCustomServerListEnabled { get; set; }

Property Value

bool

IsEnabled

public bool IsEnabled { get; set; }

Property Value

bool

IsFindingMatch

public bool IsFindingMatch { get; set; }

Property Value

bool

IsMatchFindPossible

public bool IsMatchFindPossible { get; set; }

Property Value

bool

IsPremadeGamesEnabled

public bool IsPremadeGamesEnabled { get; set; }

Property Value

bool

IsQuickplayGamesEnabled

public bool IsQuickplayGamesEnabled { get; set; }

Property Value

bool

IsRanked

public bool IsRanked { get; set; }

Property Value

bool

IsRankedGamesEnabled

public bool IsRankedGamesEnabled { get; set; }

Property Value

bool

MatchFindNotPossibleText

public string MatchFindNotPossibleText { get; set; }

Property Value

string

PlayText

public string PlayText { get; set; }

Property Value

string

PremadeMatches

public MPCustomGameVM PremadeMatches { get; set; }

Property Value

MPCustomGameVM

QuickPlayText

public string QuickPlayText { get; set; }

Property Value

string

QuickplayGameTypes

public MBBindingList<MPMatchmakingItemVM> QuickplayGameTypes { get; set; }

Property Value

MBBindingList<MPMatchmakingItemVM>

RankedGameTypes

public MBBindingList<MPMatchmakingItemVM> RankedGameTypes { get; set; }

Property Value

MBBindingList<MPMatchmakingItemVM>

RankedText

public string RankedText { get; set; }

Property Value

string

Regions

public SelectorVM<MPMatchmakingRegionSelectorItemVM> Regions { get; set; }

Property Value

SelectorVM<MPMatchmakingRegionSelectorItemVM>

RegionsHint

public HintViewModel RegionsHint { get; set; }

Property Value

HintViewModel

SelectedSubPageIndex

public int SelectedSubPageIndex { get; set; }

Property Value

int

SelectionInfo

public MPMatchmakingSelectionInfoVM SelectionInfo { get; set; }

Property Value

MPMatchmakingSelectionInfoVM

SelectionInfoText

public string SelectionInfoText { get; set; }

Property Value

string

TeamMatchesText

public string TeamMatchesText { get; set; }

Property Value

string

Methods

ExecuteAutoFindGame()

public void ExecuteAutoFindGame()

GetSelectedGameTypesInfo(out string[])

public bool GetSelectedGameTypesInfo(out string[] gameTypes)

Parameters

gameTypes string[]

Returns

bool

OnCancelFindingGame()

public void OnCancelFindingGame()

OnFinalize()

public override void OnFinalize()

OnFindingGame()

public void OnFindingGame()

OnPremadeGameEligibilityStatusReceived(bool)

public void OnPremadeGameEligibilityStatusReceived(bool isEligible)

Parameters

isEligible bool

OnSupportedFeaturesRefreshed(SupportedFeatures)

public void OnSupportedFeaturesRefreshed(SupportedFeatures supportedFeatures)

Parameters

supportedFeatures SupportedFeatures

RefreshPlayerData(PlayerData)

public void RefreshPlayerData(PlayerData playerData)

Parameters

playerData PlayerData

RefreshSubPageStates()

public void RefreshSubPageStates()

RefreshValues()

public override void RefreshValues()

RefreshWaitingTime()

public void RefreshWaitingTime()

TrySetMatchmakingSubPage(MatchmakingSubPages)

public void TrySetMatchmakingSubPage(MPMatchmakingVM.MatchmakingSubPages newPage)

Parameters

newPage MPMatchmakingVM.MatchmakingSubPages

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