Table of Contents

Class MPCustomGameVM

Namespace
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.Lobby.CustomGame
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 LobbyState
customGameMode MPCustomGameVM.CustomGameMode

Properties

CloseText

public string CloseText { get; set; }

Property Value

string

CreateServerText

public string CreateServerText { get; set; }

Property Value

string

CustomServerActionsList

public MBBindingList<StringPairItemWithActionVM> CustomServerActionsList { get; set; }

Property Value

MBBindingList<StringPairItemWithActionVM>

FiltersData

public MPCustomGameFiltersVM FiltersData { get; set; }

Property Value

MPCustomGameFiltersVM

FirstFactionText

public string FirstFactionText { get; set; }

Property Value

string

GameList

public MBBindingList<MPCustomGameItemVM> GameList { get; set; }

Property Value

MBBindingList<MPCustomGameItemVM>

GameTypeText

public string GameTypeText { get; set; }

Property Value

string

HostGame

public MPHostGameVM HostGame { get; set; }

Property Value

MPHostGameVM

HostText

public string HostText { get; set; }

Property Value

string

IsAnyGameSelected

public bool IsAnyGameSelected { get; set; }

Property Value

bool

IsCustomServerActionsActive

public bool IsCustomServerActionsActive { get; set; }

Property Value

bool

IsEnabled

public bool IsEnabled { get; set; }

Property Value

bool

IsInParty

public bool IsInParty { get; set; }

Property Value

bool

IsPartyLeader

public bool IsPartyLeader { get; set; }

Property Value

bool

IsPasswordProtectedHint

public HintViewModel IsPasswordProtectedHint { get; set; }

Property Value

HintViewModel

IsPingInfoAvailable

public static bool IsPingInfoAvailable { get; }

Property Value

bool

IsPlayerBasedCustomBattleEnabled

public bool IsPlayerBasedCustomBattleEnabled { get; set; }

Property Value

bool

IsPremadeGameEnabled

public bool IsPremadeGameEnabled { get; set; }

Property Value

bool

IsRefreshed

public bool IsRefreshed { get; set; }

Property Value

bool

JoinText

public string JoinText { get; set; }

Property Value

string

MapText

public string MapText { get; set; }

Property Value

string

PasswordText

public string PasswordText { get; set; }

Property Value

string

PingText

public string PingText { get; set; }

Property Value

string

PlayerCountText

public string PlayerCountText { get; set; }

Property Value

string

PremadeMatchTypeText

public string PremadeMatchTypeText { get; set; }

Property Value

string

RefreshInputKey

public InputKeyItemVM RefreshInputKey { get; set; }

Property Value

InputKeyItemVM

RefreshText

public string RefreshText { get; set; }

Property Value

string

RegionText

public string RegionText { get; set; }

Property Value

string

SecondFactionText

public string SecondFactionText { get; set; }

Property Value

string

SelectedGame

public MPCustomGameItemVM SelectedGame { get; set; }

Property Value

MPCustomGameItemVM

ServerNameText

public string ServerNameText { get; set; }

Property Value

string

ServersInfoText

public string ServersInfoText { get; set; }

Property Value

string

SortController

public MPCustomGameSortControllerVM SortController { get; set; }

Property Value

MPCustomGameSortControllerVM

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

Action<bool>

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