Table of Contents

Class MPLobbyVM

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

Constructors

MPLobbyVM(LobbyState, Action<BasicCharacterObject>, Action, Action<KeyOptionVM>, Func<string>, Action<bool>)

public MPLobbyVM(LobbyState lobbyState, Action<BasicCharacterObject> onOpenFacegen, Action onForceCloseFacegen, Action<KeyOptionVM> onKeybindRequest, Func<string> getContinueKeyText, Action<bool> setNavigationRestriction)

Parameters

lobbyState LobbyState
onOpenFacegen Action<BasicCharacterObject>
onForceCloseFacegen Action
onKeybindRequest Action<KeyOptionVM>
getContinueKeyText Func<string>
setNavigationRestriction Action<bool>

Properties

AfterBattlePopup

public MPAfterBattlePopupVM AfterBattlePopup { get; set; }

Property Value

MPAfterBattlePopupVM

Armory

public MPArmoryVM Armory { get; set; }

Property Value

MPArmoryVM

BadgeProgressionInformation

public MPLobbyBadgeProgressInformationVM BadgeProgressionInformation { get; set; }

Property Value

MPLobbyBadgeProgressInformationVM

BadgeSelectionPopup

public MPLobbyBadgeSelectionPopupVM BadgeSelectionPopup { get; set; }

Property Value

MPLobbyBadgeSelectionPopupVM

BannerlordIDAddFriendPopup

public MPLobbyBannerlordIDAddFriendPopupVM BannerlordIDAddFriendPopup { get; set; }

Property Value

MPLobbyBannerlordIDAddFriendPopupVM

BannerlordIDChangePopup

public MPLobbyBannerlordIDChangePopup BannerlordIDChangePopup { get; set; }

Property Value

MPLobbyBannerlordIDChangePopup

BlockerState

public MPLobbyBlockerStateVM BlockerState { get; set; }

Property Value

MPLobbyBlockerStateVM

BrightnessPopup

public BrightnessOptionVM BrightnessPopup { get; set; }

Property Value

BrightnessOptionVM

ChangeSigilPopup

public MPLobbyHomeChangeSigilPopupVM ChangeSigilPopup { get; set; }

Property Value

MPLobbyHomeChangeSigilPopupVM

Clan

public MPLobbyClanVM Clan { get; set; }

Property Value

MPLobbyClanVM

ClanCreationInformationPopup

public MPLobbyClanCreationInformationVM ClanCreationInformationPopup { get; set; }

Property Value

MPLobbyClanCreationInformationVM

ClanCreationPopup

public MPLobbyClanCreationPopupVM ClanCreationPopup { get; set; }

Property Value

MPLobbyClanCreationPopupVM

ClanInvitationPopup

public MPLobbyClanInvitationPopupVM ClanInvitationPopup { get; set; }

Property Value

MPLobbyClanInvitationPopupVM

ClanInviteFriendsPopup

public MPLobbyClanInviteFriendsPopupVM ClanInviteFriendsPopup { get; set; }

Property Value

MPLobbyClanInviteFriendsPopupVM

ClanLeaderboardPopup

public MPLobbyClanLeaderboardVM ClanLeaderboardPopup { get; set; }

Property Value

MPLobbyClanLeaderboardVM

ClanMatchmakingRequestPopup

public MPLobbyClanMatchmakingRequestPopupVM ClanMatchmakingRequestPopup { get; set; }

Property Value

MPLobbyClanMatchmakingRequestPopupVM

CosmeticObtainPopup

public MPCosmeticObtainPopupVM CosmeticObtainPopup { get; set; }

Property Value

MPCosmeticObtainPopupVM

CurrentPage

public MPLobbyVM.LobbyPage CurrentPage { get; }

Property Value

MPLobbyVM.LobbyPage

DisallowedPages

public List<MPLobbyVM.LobbyPage> DisallowedPages { get; }

Property Value

List<MPLobbyVM.LobbyPage>

ExposurePopup

public ExposureOptionVM ExposurePopup { get; set; }

Property Value

ExposureOptionVM

Friends

public MPLobbyFriendsVM Friends { get; set; }

Property Value

MPLobbyFriendsVM

GameSearch

public MPLobbyGameSearchVM GameSearch { get; set; }

Property Value

MPLobbyGameSearchVM

Home

public MPLobbyHomeVM Home { get; set; }

Property Value

MPLobbyHomeVM

InformationPopup

public MPLobbyInformationPopup InformationPopup { get; set; }

Property Value

MPLobbyInformationPopup

IsArmoryActive

public bool IsArmoryActive { get; set; }

Property Value

bool

IsCustomGameFindEnabled

public bool IsCustomGameFindEnabled { get; set; }

Property Value

bool

IsInParty

public bool IsInParty { get; set; }

Property Value

bool

IsLoggedIn

public bool IsLoggedIn { get; set; }

Property Value

bool

IsMatchmakingEnabled

public bool IsMatchmakingEnabled { get; set; }

Property Value

bool

IsPartyLeader

public bool IsPartyLeader { get; set; }

Property Value

bool

IsSearchGameRequested

public bool IsSearchGameRequested { get; set; }

Property Value

bool

IsSearchingGame

public bool IsSearchingGame { get; set; }

Property Value

bool

Login

public MPAuthenticationVM Login { get; set; }

Property Value

MPAuthenticationVM

Matchmaking

public MPMatchmakingVM Matchmaking { get; set; }

Property Value

MPMatchmakingVM

Menu

public MPLobbyMenuVM Menu { get; set; }

Property Value

MPLobbyMenuVM

Options

public MPOptionsVM Options { get; set; }

Property Value

MPOptionsVM

PartyInvitationPopup

public MPLobbyPartyInvitationPopupVM PartyInvitationPopup { get; set; }

Property Value

MPLobbyPartyInvitationPopupVM

PartyJoinRequestPopup

public MPLobbyPartyJoinRequestPopupVM PartyJoinRequestPopup { get; set; }

Property Value

MPLobbyPartyJoinRequestPopupVM

PartyPlayerSuggestionPopup

public MPLobbyPartyPlayerSuggestionPopupVM PartyPlayerSuggestionPopup { get; set; }

Property Value

MPLobbyPartyPlayerSuggestionPopupVM

PlayerProfile

public MPLobbyPlayerProfileVM PlayerProfile { get; set; }

Property Value

MPLobbyPlayerProfileVM

Profile

public MPLobbyProfileVM Profile { get; set; }

Property Value

MPLobbyProfileVM

QueryPopup

public MPLobbyQueryPopupVM QueryPopup { get; set; }

Property Value

MPLobbyQueryPopupVM

RankLeaderboard

public MPLobbyRankLeaderboardVM RankLeaderboard { get; set; }

Property Value

MPLobbyRankLeaderboardVM

RankProgressInformation

public MPLobbyRankProgressInformationVM RankProgressInformation { get; set; }

Property Value

MPLobbyRankProgressInformationVM

RecentGames

public MPLobbyRecentGamesVM RecentGames { get; set; }

Property Value

MPLobbyRecentGamesVM

Rejoin

public MPLobbyRejoinVM Rejoin { get; set; }

Property Value

MPLobbyRejoinVM

Methods

ConnectionStateUpdated(bool)

public void ConnectionStateUpdated(bool isAuthenticated)

Parameters

isAuthenticated bool

CreateInputKeyVisuals(HotKey, HotKey, HotKey, HotKey, HotKey, HotKey)

public void CreateInputKeyVisuals(HotKey cancelInputKey, HotKey doneInputKey, HotKey previousInputKey, HotKey nextInputKey, HotKey firstInputKey, HotKey lastInputKey)

Parameters

cancelInputKey HotKey
doneInputKey HotKey
previousInputKey HotKey
nextInputKey HotKey
firstInputKey HotKey
lastInputKey HotKey

ForceCloseContextMenus()

public void ForceCloseContextMenus()

GetLocalizedGameTypesString(string[])

public static string GetLocalizedGameTypesString(string[] gameTypes)

Parameters

gameTypes string[]

Returns

string

GetLocalizedRankName(string)

public static string GetLocalizedRankName(string rankID)

Parameters

rankID string

Returns

string

HasAnyContextMenuOpen()

public bool HasAnyContextMenuOpen()

Returns

bool

HasNoPopupOpen()

public bool HasNoPopupOpen()

Returns

bool

OnActivate()

public void OnActivate()

OnClanCreationFinished()

public void OnClanCreationFinished()

OnClanInfoChanged()

public void OnClanInfoChanged()

OnConfirm()

public void OnConfirm()

OnDeactivate()

public void OnDeactivate()

OnDisconnected()

public void OnDisconnected()

OnEnableGenericAvatarsChanged()

public void OnEnableGenericAvatarsChanged()

OnEnableGenericNamesChanged()

public void OnEnableGenericNamesChanged()

OnEscape()

public void OnEscape()

OnFinalize()

public override void OnFinalize()

OnFriendListUpdated(bool)

public void OnFriendListUpdated(bool forceUpdate = false)

Parameters

forceUpdate bool

OnNotificationsReceived(LobbyNotification[])

public void OnNotificationsReceived(LobbyNotification[] notifications)

Parameters

notifications LobbyNotification[]

OnPlayerAddedToParty(PlayerId)

public void OnPlayerAddedToParty(PlayerId playerId)

Parameters

playerId PlayerId

OnPlayerAssignedPartyLeader(PlayerId)

public void OnPlayerAssignedPartyLeader(PlayerId newPartyLeaderId)

Parameters

newPartyLeaderId PlayerId

OnPlayerNameUpdated(string)

public void OnPlayerNameUpdated(string playerName)

Parameters

playerName string

OnPlayerRemovedFromParty(PlayerId, PartyRemoveReason)

public void OnPlayerRemovedFromParty(PlayerId playerId, PartyRemoveReason reason)

Parameters

playerId PlayerId
reason PartyRemoveReason

OnPlayerSuggestedToParty(PlayerId, string, PlayerId, string)

public void OnPlayerSuggestedToParty(PlayerId playerId, string playerName, PlayerId suggestingPlayerId, string suggestingPlayerName)

Parameters

playerId PlayerId
playerName string
suggestingPlayerId PlayerId
suggestingPlayerName string

OnPremadeGameCreated()

public void OnPremadeGameCreated()

OnRejoinBattleRequestAnswered(bool)

public void OnRejoinBattleRequestAnswered(bool isSuccessful)

Parameters

isSuccessful bool

OnRequestedToCancelSearchBattle()

public void OnRequestedToCancelSearchBattle()

OnRequestedToSearchBattle()

public void OnRequestedToSearchBattle()

OnSearchBattleCanceled()

public void OnSearchBattleCanceled()

OnServerStatusReceived(ServerStatus)

public void OnServerStatusReceived(ServerStatus serverStatus)

Parameters

serverStatus ServerStatus

OnSigilChanged(int)

public void OnSigilChanged(int iconID)

Parameters

iconID int

OnTick(float)

public void OnTick(float dt)

Parameters

dt float

OnUpdateFindingGame(MatchmakingWaitTimeStats, string[])

public void OnUpdateFindingGame(MatchmakingWaitTimeStats matchmakingWaitTimeStats, string[] gameTypeInfo)

Parameters

matchmakingWaitTimeStats MatchmakingWaitTimeStats
gameTypeInfo string[]

RefreshPlayerData(PlayerData)

public void RefreshPlayerData(PlayerData playerData)

Parameters

playerData PlayerData

RefreshRecentGames()

public void RefreshRecentGames()

RefreshSupportedFeatures()

public void RefreshSupportedFeatures()

RefreshValues()

public override void RefreshValues()

RequestExit()

public Task RequestExit()

Returns

Task

SetPage(LobbyPage, MatchmakingSubPages)

public void SetPage(MPLobbyVM.LobbyPage lobbyPage, MPMatchmakingVM.MatchmakingSubPages matchmakingSubPage = MatchmakingSubPages.Default)

Parameters

lobbyPage MPLobbyVM.LobbyPage
matchmakingSubPage MPMatchmakingVM.MatchmakingSubPages

ShowOptionsChangedInquiry(Action, Action)

public void ShowOptionsChangedInquiry(Action onAccept = null, Action onDecline = null)

Parameters

onAccept Action
onDecline Action

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