Table of Contents

Class MPCustomGameItemVM

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

Constructors

MPCustomGameItemVM(GameServerEntry, Action<MPCustomGameItemVM>, Action<MPCustomGameItemVM>, Action<MPCustomGameItemVM>, Action<MPCustomGameItemVM>)

public MPCustomGameItemVM(GameServerEntry gameServerInfo, Action<MPCustomGameItemVM> onSelect, Action<MPCustomGameItemVM> onJoin, Action<MPCustomGameItemVM> onRequestActions, Action<MPCustomGameItemVM> onToggleFavorite)

Parameters

gameServerInfo GameServerEntry
onSelect Action<MPCustomGameItemVM>
onJoin Action<MPCustomGameItemVM>
onRequestActions Action<MPCustomGameItemVM>
onToggleFavorite Action<MPCustomGameItemVM>

MPCustomGameItemVM(PremadeGameEntry, Action<MPCustomGameItemVM>)

public MPCustomGameItemVM(PremadeGameEntry premadeGameInfo, Action<MPCustomGameItemVM> onJoin)

Parameters

premadeGameInfo PremadeGameEntry
onJoin Action<MPCustomGameItemVM>

Fields

OfficialServerHostName

public static readonly string OfficialServerHostName

Field Value

string

PingTimeoutText

public const string PingTimeoutText = "-"

Field Value

string

Properties

FirstFactionName

public string FirstFactionName { get; set; }

Property Value

string

GameServerInfo

public GameServerEntry GameServerInfo { get; }

Property Value

GameServerEntry

GameTypeText

public string GameTypeText { get; set; }

Property Value

string

HostText

public string HostText { get; set; }

Property Value

string

IsByOfficialServerProvider

public bool IsByOfficialServerProvider { get; set; }

Property Value

bool

IsClanMatchItem

public bool IsClanMatchItem { get; set; }

Property Value

bool

IsCommunityServer

public bool IsCommunityServer { get; set; }

Property Value

bool

IsFavorite

public bool IsFavorite { get; set; }

Property Value

bool

IsOfficialServer

public bool IsOfficialServer { get; set; }

Property Value

bool

IsPasswordProtected

public bool IsPasswordProtected { get; set; }

Property Value

bool

IsPingInfoAvailable

public bool IsPingInfoAvailable { get; set; }

Property Value

bool

IsSelected

public bool IsSelected { get; set; }

Property Value

bool

LoadedModulesHint

public BasicTooltipViewModel LoadedModulesHint { get; set; }

Property Value

BasicTooltipViewModel

MaxPlayerCount

public int MaxPlayerCount { get; set; }

Property Value

int

NameText

public string NameText { get; set; }

Property Value

string

PingText

public string PingText { get; set; }

Property Value

string

PlayerCount

public int PlayerCount { get; set; }

Property Value

int

PlayerCountText

public string PlayerCountText { get; set; }

Property Value

string

PremadeGameInfo

public PremadeGameEntry PremadeGameInfo { get; }

Property Value

PremadeGameEntry

PremadeMatchTypeText

public string PremadeMatchTypeText { get; set; }

Property Value

string

RegionName

public string RegionName { get; set; }

Property Value

string

SecondFactionName

public string SecondFactionName { get; set; }

Property Value

string

Methods

ExecuteFavorite()

public void ExecuteFavorite()

ExecuteJoin()

public void ExecuteJoin()

ExecuteSelect()

public void ExecuteSelect()

ExecuteViewHostOptions()

public void ExecuteViewHostOptions()

UpdateIsFavorite()

public void UpdateIsFavorite()

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