Class MPCustomGameItemVM
- 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
GameServerEntryonSelect
Action<MPCustomGameItemVM>onJoin
Action<MPCustomGameItemVM>onRequestActions
Action<MPCustomGameItemVM>onToggleFavorite
Action<MPCustomGameItemVM>
MPCustomGameItemVM(PremadeGameEntry, Action<MPCustomGameItemVM>)
public MPCustomGameItemVM(PremadeGameEntry premadeGameInfo, Action<MPCustomGameItemVM> onJoin)
Parameters
premadeGameInfo
PremadeGameEntryonJoin
Action<MPCustomGameItemVM>
Fields
OfficialServerHostName
public static readonly string OfficialServerHostName
Field Value
PingTimeoutText
public const string PingTimeoutText = "-"
Field Value
Properties
FirstFactionName
public string FirstFactionName { get; set; }
Property Value
GameServerInfo
public GameServerEntry GameServerInfo { get; }
Property Value
GameTypeText
public string GameTypeText { get; set; }
Property Value
HostText
public string HostText { get; set; }
Property Value
IsByOfficialServerProvider
public bool IsByOfficialServerProvider { get; set; }
Property Value
IsClanMatchItem
public bool IsClanMatchItem { get; set; }
Property Value
IsCommunityServer
public bool IsCommunityServer { get; set; }
Property Value
IsFavorite
public bool IsFavorite { get; set; }
Property Value
IsOfficialServer
public bool IsOfficialServer { get; set; }
Property Value
IsPasswordProtected
public bool IsPasswordProtected { get; set; }
Property Value
IsPingInfoAvailable
public bool IsPingInfoAvailable { get; set; }
Property Value
IsSelected
public bool IsSelected { get; set; }
Property Value
LoadedModulesHint
public BasicTooltipViewModel LoadedModulesHint { get; set; }
Property Value
MaxPlayerCount
public int MaxPlayerCount { get; set; }
Property Value
NameText
public string NameText { get; set; }
Property Value
PingText
public string PingText { get; set; }
Property Value
PlayerCount
public int PlayerCount { get; set; }
Property Value
PlayerCountText
public string PlayerCountText { get; set; }
Property Value
PremadeGameInfo
public PremadeGameEntry PremadeGameInfo { get; }
Property Value
PremadeMatchTypeText
public string PremadeMatchTypeText { get; set; }
Property Value
RegionName
public string RegionName { get; set; }
Property Value
SecondFactionName
public string SecondFactionName { get; set; }
Property Value
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).