Class MPMatchmakingVM
- 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
LobbyStateonChangePageRequest
Action<MPLobbyVM.LobbyPage>onMatchSelectionChanged
Action<string, bool>onGameFindRequestStateChanged
Action<bool>
Properties
AutoFindText
public string AutoFindText { get; set; }
Property Value
CasualText
public string CasualText { get; set; }
Property Value
CommunityGameText
public string CommunityGameText { get; set; }
Property Value
CurrentSubPage
public MPMatchmakingVM.MatchmakingSubPages CurrentSubPage { get; }
Property Value
CustomGameText
public string CustomGameText { get; set; }
Property Value
CustomGameTypes
public MBBindingList<MPMatchmakingItemVM> CustomGameTypes { get; set; }
Property Value
CustomServer
public MPCustomGameVM CustomServer { get; set; }
Property Value
CustomServerListText
public string CustomServerListText { get; set; }
Property Value
HasUnofficialModulesLoaded
public bool HasUnofficialModulesLoaded { get; set; }
Property Value
IsClansFeatureSupported
public bool IsClansFeatureSupported { get; set; }
Property Value
IsCustomGameStageFindEnabled
public bool IsCustomGameStageFindEnabled { get; set; }
Property Value
IsCustomGamesEnabled
public bool IsCustomGamesEnabled { get; set; }
Property Value
IsCustomServerFeatureSupported
public bool IsCustomServerFeatureSupported { get; set; }
Property Value
IsCustomServerListEnabled
public bool IsCustomServerListEnabled { get; set; }
Property Value
IsEnabled
public bool IsEnabled { get; set; }
Property Value
IsFindingMatch
public bool IsFindingMatch { get; set; }
Property Value
IsMatchFindPossible
public bool IsMatchFindPossible { get; set; }
Property Value
IsPremadeGamesEnabled
public bool IsPremadeGamesEnabled { get; set; }
Property Value
IsQuickplayGamesEnabled
public bool IsQuickplayGamesEnabled { get; set; }
Property Value
IsRanked
public bool IsRanked { get; set; }
Property Value
IsRankedGamesEnabled
public bool IsRankedGamesEnabled { get; set; }
Property Value
MatchFindNotPossibleText
public string MatchFindNotPossibleText { get; set; }
Property Value
PlayText
public string PlayText { get; set; }
Property Value
PremadeMatches
public MPCustomGameVM PremadeMatches { get; set; }
Property Value
QuickPlayText
public string QuickPlayText { get; set; }
Property Value
QuickplayGameTypes
public MBBindingList<MPMatchmakingItemVM> QuickplayGameTypes { get; set; }
Property Value
RankedGameTypes
public MBBindingList<MPMatchmakingItemVM> RankedGameTypes { get; set; }
Property Value
RankedText
public string RankedText { get; set; }
Property Value
Regions
public SelectorVM<MPMatchmakingRegionSelectorItemVM> Regions { get; set; }
Property Value
RegionsHint
public HintViewModel RegionsHint { get; set; }
Property Value
SelectedSubPageIndex
public int SelectedSubPageIndex { get; set; }
Property Value
SelectionInfo
public MPMatchmakingSelectionInfoVM SelectionInfo { get; set; }
Property Value
SelectionInfoText
public string SelectionInfoText { get; set; }
Property Value
TeamMatchesText
public string TeamMatchesText { get; set; }
Property Value
Methods
ExecuteAutoFindGame()
public void ExecuteAutoFindGame()
GetSelectedGameTypesInfo(out string[])
public bool GetSelectedGameTypesInfo(out string[] gameTypes)
Parameters
gameTypes
string[]
Returns
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).