Table of Contents

Class MPLobbyProfileVM

Namespace
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.Lobby.Profile
Assembly
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.dll
public class MPLobbyProfileVM : ViewModel
Inheritance
MPLobbyProfileVM

Constructors

MPLobbyProfileVM(LobbyState, Action<LobbyPage>, Action)

public MPLobbyProfileVM(LobbyState lobbyState, Action<MPLobbyVM.LobbyPage> onChangePageRequest, Action onOpenRecentGames)

Parameters

lobbyState LobbyState
onChangePageRequest Action<MPLobbyVM.LobbyPage>
onOpenRecentGames Action

Properties

FindGameText

public string FindGameText { get; set; }

Property Value

string

HasBadgeNotification

public bool HasBadgeNotification { get; set; }

Property Value

bool

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

MatchFindNotPossibleText

public string MatchFindNotPossibleText { get; set; }

Property Value

string

PlayerInfo

public MPLobbyPlayerProfileVM PlayerInfo { get; set; }

Property Value

MPLobbyPlayerProfileVM

RecentGamesSummary

public MBBindingList<MPLobbyRecentGameItemVM> RecentGamesSummary { get; set; }

Property Value

MBBindingList<MPLobbyRecentGameItemVM>

RecentGamesTitleText

public string RecentGamesTitleText { get; set; }

Property Value

string

SelectionInfoText

public string SelectionInfoText { get; set; }

Property Value

string

ShowMoreText

public string ShowMoreText { get; set; }

Property Value

string

Methods

OnClanInfoChanged()

public void OnClanInfoChanged()

OnMatchSelectionChanged(string, bool)

public void OnMatchSelectionChanged(string selectionInfo, bool isMatchFindPossible)

Parameters

selectionInfo string
isMatchFindPossible bool

OnNotificationReceived(LobbyNotification)

public void OnNotificationReceived(LobbyNotification notification)

Parameters

notification LobbyNotification

OnPlayerNameUpdated(string)

public void OnPlayerNameUpdated(string playerName)

Parameters

playerName string

RefreshRecentGames(MBReadOnlyList<MatchHistoryData>)

public void RefreshRecentGames(MBReadOnlyList<MatchHistoryData> recentGames)

Parameters

recentGames MBReadOnlyList<MatchHistoryData>

RefreshValues()

public override void RefreshValues()

UpdatePlayerData(PlayerData, bool, bool)

public void UpdatePlayerData(PlayerData playerData, bool updateStatistics = true, bool updateRating = true)

Parameters

playerData PlayerData
updateStatistics bool
updateRating bool

Events

OnFindGameRequested

public event Action OnFindGameRequested

Event Type

Action

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