Table of Contents

Class MPLobbyHomeVM

Namespace
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.Lobby.Home
Assembly
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.dll
public class MPLobbyHomeVM : ViewModel
Inheritance
MPLobbyHomeVM

Constructors

MPLobbyHomeVM(NewsManager, Action<LobbyPage>)

public MPLobbyHomeVM(NewsManager newsManager, Action<MPLobbyVM.LobbyPage> onChangePageRequest)

Parameters

newsManager NewsManager
onChangePageRequest Action<MPLobbyVM.LobbyPage>

Properties

Announcements

public MPAnnouncementsVM Announcements { get; set; }

Property Value

MPAnnouncementsVM

FindGameText

public string FindGameText { get; set; }

Property Value

string

HasUnofficialModulesLoaded

public bool HasUnofficialModulesLoaded { get; set; }

Property Value

bool

IsEnabled

public bool IsEnabled { get; set; }

Property Value

bool

IsMatchFindPossible

public bool IsMatchFindPossible { get; set; }

Property Value

bool

IsNewsAvailable

public bool IsNewsAvailable { get; set; }

Property Value

bool

MatchFindNotPossibleText

public string MatchFindNotPossibleText { get; set; }

Property Value

string

News

public MPNewsVM News { get; set; }

Property Value

MPNewsVM

OpenProfileText

public string OpenProfileText { get; set; }

Property Value

string

Player

public MPLobbyPlayerBaseVM Player { get; set; }

Property Value

MPLobbyPlayerBaseVM

SelectionInfoText

public string SelectionInfoText { get; set; }

Property Value

string

Methods

OnClanInfoChanged()

public void OnClanInfoChanged()

OnFinalize()

public override void OnFinalize()

OnMatchSelectionChanged(string, bool)

public void OnMatchSelectionChanged(string selectionInfo, bool isMatchFindPossible)

Parameters

selectionInfo string
isMatchFindPossible bool

OnPlayerNameUpdated(string)

public void OnPlayerNameUpdated(string playerName)

Parameters

playerName string

OnTick(float)

public void OnTick(float dt)

Parameters

dt float

RefreshPlayerData(PlayerData, bool)

public void RefreshPlayerData(PlayerData playerData, bool updateRating = true)

Parameters

playerData PlayerData
updateRating bool

RefreshValues()

public override void RefreshValues()

Events

OnFindGameRequested

public event Action OnFindGameRequested

Event Type

Action

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