Class MPCustomGameVM
- Assembly
- TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.dll
public class MPCustomGameVM : ViewModel
- Inheritance
-
MPCustomGameVM
Constructors
MPCustomGameVM(LobbyState, CustomGameMode)
public MPCustomGameVM(LobbyState lobbyState, MPCustomGameVM.CustomGameMode customGameMode)
Parameters
lobbyState
LobbyStatecustomGameMode
MPCustomGameVM.CustomGameMode
Properties
CloseText
public string CloseText { get; set; }
Property Value
CreateServerText
public string CreateServerText { get; set; }
Property Value
CustomServerActionsList
public MBBindingList<StringPairItemWithActionVM> CustomServerActionsList { get; set; }
Property Value
FiltersData
public MPCustomGameFiltersVM FiltersData { get; set; }
Property Value
FirstFactionText
public string FirstFactionText { get; set; }
Property Value
GameList
public MBBindingList<MPCustomGameItemVM> GameList { get; set; }
Property Value
GameTypeText
public string GameTypeText { get; set; }
Property Value
HostGame
public MPHostGameVM HostGame { get; set; }
Property Value
HostText
public string HostText { get; set; }
Property Value
IsAnyGameSelected
public bool IsAnyGameSelected { get; set; }
Property Value
IsCustomServerActionsActive
public bool IsCustomServerActionsActive { get; set; }
Property Value
IsEnabled
public bool IsEnabled { get; set; }
Property Value
IsInParty
public bool IsInParty { get; set; }
Property Value
IsPartyLeader
public bool IsPartyLeader { get; set; }
Property Value
IsPasswordProtectedHint
public HintViewModel IsPasswordProtectedHint { get; set; }
Property Value
IsPingInfoAvailable
public static bool IsPingInfoAvailable { get; }
Property Value
IsPlayerBasedCustomBattleEnabled
public bool IsPlayerBasedCustomBattleEnabled { get; set; }
Property Value
IsPremadeGameEnabled
public bool IsPremadeGameEnabled { get; set; }
Property Value
IsRefreshed
public bool IsRefreshed { get; set; }
Property Value
JoinText
public string JoinText { get; set; }
Property Value
MapText
public string MapText { get; set; }
Property Value
PasswordText
public string PasswordText { get; set; }
Property Value
PingText
public string PingText { get; set; }
Property Value
PlayerCountText
public string PlayerCountText { get; set; }
Property Value
PremadeMatchTypeText
public string PremadeMatchTypeText { get; set; }
Property Value
RefreshInputKey
public InputKeyItemVM RefreshInputKey { get; set; }
Property Value
RefreshText
public string RefreshText { get; set; }
Property Value
RegionText
public string RegionText { get; set; }
Property Value
SecondFactionText
public string SecondFactionText { get; set; }
Property Value
SelectedGame
public MPCustomGameItemVM SelectedGame { get; set; }
Property Value
ServerNameText
public string ServerNameText { get; set; }
Property Value
ServersInfoText
public string ServersInfoText { get; set; }
Property Value
SortController
public MPCustomGameSortControllerVM SortController { get; set; }
Property Value
Methods
ExecuteJoinSelectedGame()
public void ExecuteJoinSelectedGame()
ExecuteRefresh()
public void ExecuteRefresh()
OnFinalize()
public override void OnFinalize()
OnJoinGame(MPCustomGameItemVM)
public void OnJoinGame(MPCustomGameItemVM gameItem)
Parameters
gameItem
MPCustomGameItemVM
OnTick(float)
public void OnTick(float dt)
Parameters
dt
float
RefreshCustomGameServerList(AvailableCustomGames)
public void RefreshCustomGameServerList(AvailableCustomGames availableCustomGames)
Parameters
availableCustomGames
AvailableCustomGames
RefreshPremadeGameList()
public void RefreshPremadeGameList()
RefreshValues()
public override void RefreshValues()
SetRefreshInputKey(HotKey)
public void SetRefreshInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
Events
OnMapCheckingStateChanged
public static event Action<bool> OnMapCheckingStateChanged
Event Type
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).