Class MPLobbyProfileVM
- 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
LobbyStateonChangePageRequest
Action<MPLobbyVM.LobbyPage>onOpenRecentGames
Action
Properties
FindGameText
public string FindGameText { get; set; }
Property Value
HasBadgeNotification
public bool HasBadgeNotification { get; set; }
Property Value
HasUnofficialModulesLoaded
public bool HasUnofficialModulesLoaded { get; set; }
Property Value
IsEnabled
public bool IsEnabled { get; set; }
Property Value
IsMatchFindPossible
public bool IsMatchFindPossible { get; set; }
Property Value
MatchFindNotPossibleText
public string MatchFindNotPossibleText { get; set; }
Property Value
PlayerInfo
public MPLobbyPlayerProfileVM PlayerInfo { get; set; }
Property Value
RecentGamesSummary
public MBBindingList<MPLobbyRecentGameItemVM> RecentGamesSummary { get; set; }
Property Value
RecentGamesTitleText
public string RecentGamesTitleText { get; set; }
Property Value
SelectionInfoText
public string SelectionInfoText { get; set; }
Property Value
ShowMoreText
public string ShowMoreText { get; set; }
Property Value
Methods
OnClanInfoChanged()
public void OnClanInfoChanged()
OnMatchSelectionChanged(string, bool)
public void OnMatchSelectionChanged(string selectionInfo, bool isMatchFindPossible)
Parameters
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
PlayerDataupdateStatistics
boolupdateRating
bool
Events
OnFindGameRequested
public event Action OnFindGameRequested
Event Type
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).