Class MPLobbyVM
- 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
LobbyStateonOpenFacegen
Action<BasicCharacterObject>onForceCloseFacegen
ActiononKeybindRequest
Action<KeyOptionVM>getContinueKeyText
Func<string>setNavigationRestriction
Action<bool>
Properties
AfterBattlePopup
public MPAfterBattlePopupVM AfterBattlePopup { get; set; }
Property Value
Armory
public MPArmoryVM Armory { get; set; }
Property Value
BadgeProgressionInformation
public MPLobbyBadgeProgressInformationVM BadgeProgressionInformation { get; set; }
Property Value
BadgeSelectionPopup
public MPLobbyBadgeSelectionPopupVM BadgeSelectionPopup { get; set; }
Property Value
BannerlordIDAddFriendPopup
public MPLobbyBannerlordIDAddFriendPopupVM BannerlordIDAddFriendPopup { get; set; }
Property Value
BannerlordIDChangePopup
public MPLobbyBannerlordIDChangePopup BannerlordIDChangePopup { get; set; }
Property Value
BlockerState
public MPLobbyBlockerStateVM BlockerState { get; set; }
Property Value
BrightnessPopup
public BrightnessOptionVM BrightnessPopup { get; set; }
Property Value
ChangeSigilPopup
public MPLobbyHomeChangeSigilPopupVM ChangeSigilPopup { get; set; }
Property Value
Clan
public MPLobbyClanVM Clan { get; set; }
Property Value
ClanCreationInformationPopup
public MPLobbyClanCreationInformationVM ClanCreationInformationPopup { get; set; }
Property Value
ClanCreationPopup
public MPLobbyClanCreationPopupVM ClanCreationPopup { get; set; }
Property Value
ClanInvitationPopup
public MPLobbyClanInvitationPopupVM ClanInvitationPopup { get; set; }
Property Value
ClanInviteFriendsPopup
public MPLobbyClanInviteFriendsPopupVM ClanInviteFriendsPopup { get; set; }
Property Value
ClanLeaderboardPopup
public MPLobbyClanLeaderboardVM ClanLeaderboardPopup { get; set; }
Property Value
ClanMatchmakingRequestPopup
public MPLobbyClanMatchmakingRequestPopupVM ClanMatchmakingRequestPopup { get; set; }
Property Value
CosmeticObtainPopup
public MPCosmeticObtainPopupVM CosmeticObtainPopup { get; set; }
Property Value
CurrentPage
public MPLobbyVM.LobbyPage CurrentPage { get; }
Property Value
DisallowedPages
public List<MPLobbyVM.LobbyPage> DisallowedPages { get; }
Property Value
ExposurePopup
public ExposureOptionVM ExposurePopup { get; set; }
Property Value
Friends
public MPLobbyFriendsVM Friends { get; set; }
Property Value
GameSearch
public MPLobbyGameSearchVM GameSearch { get; set; }
Property Value
Home
public MPLobbyHomeVM Home { get; set; }
Property Value
InformationPopup
public MPLobbyInformationPopup InformationPopup { get; set; }
Property Value
IsArmoryActive
public bool IsArmoryActive { get; set; }
Property Value
IsCustomGameFindEnabled
public bool IsCustomGameFindEnabled { get; set; }
Property Value
IsInParty
public bool IsInParty { get; set; }
Property Value
IsLoggedIn
public bool IsLoggedIn { get; set; }
Property Value
IsMatchmakingEnabled
public bool IsMatchmakingEnabled { get; set; }
Property Value
IsPartyLeader
public bool IsPartyLeader { get; set; }
Property Value
IsSearchGameRequested
public bool IsSearchGameRequested { get; set; }
Property Value
IsSearchingGame
public bool IsSearchingGame { get; set; }
Property Value
Login
public MPAuthenticationVM Login { get; set; }
Property Value
Matchmaking
public MPMatchmakingVM Matchmaking { get; set; }
Property Value
Menu
public MPLobbyMenuVM Menu { get; set; }
Property Value
Options
public MPOptionsVM Options { get; set; }
Property Value
PartyInvitationPopup
public MPLobbyPartyInvitationPopupVM PartyInvitationPopup { get; set; }
Property Value
PartyJoinRequestPopup
public MPLobbyPartyJoinRequestPopupVM PartyJoinRequestPopup { get; set; }
Property Value
PartyPlayerSuggestionPopup
public MPLobbyPartyPlayerSuggestionPopupVM PartyPlayerSuggestionPopup { get; set; }
Property Value
PlayerProfile
public MPLobbyPlayerProfileVM PlayerProfile { get; set; }
Property Value
Profile
public MPLobbyProfileVM Profile { get; set; }
Property Value
QueryPopup
public MPLobbyQueryPopupVM QueryPopup { get; set; }
Property Value
RankLeaderboard
public MPLobbyRankLeaderboardVM RankLeaderboard { get; set; }
Property Value
RankProgressInformation
public MPLobbyRankProgressInformationVM RankProgressInformation { get; set; }
Property Value
RecentGames
public MPLobbyRecentGamesVM RecentGames { get; set; }
Property Value
Rejoin
public MPLobbyRejoinVM Rejoin { get; set; }
Property Value
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
HotKeydoneInputKey
HotKeypreviousInputKey
HotKeynextInputKey
HotKeyfirstInputKey
HotKeylastInputKey
HotKey
ForceCloseContextMenus()
public void ForceCloseContextMenus()
GetLocalizedGameTypesString(string[])
public static string GetLocalizedGameTypesString(string[] gameTypes)
Parameters
gameTypes
string[]
Returns
GetLocalizedRankName(string)
public static string GetLocalizedRankName(string rankID)
Parameters
rankID
string
Returns
HasAnyContextMenuOpen()
public bool HasAnyContextMenuOpen()
Returns
HasNoPopupOpen()
public bool HasNoPopupOpen()
Returns
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
PlayerIdreason
PartyRemoveReason
OnPlayerSuggestedToParty(PlayerId, string, PlayerId, string)
public void OnPlayerSuggestedToParty(PlayerId playerId, string playerName, PlayerId suggestingPlayerId, string suggestingPlayerName)
Parameters
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
MatchmakingWaitTimeStatsgameTypeInfo
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
SetPage(LobbyPage, MatchmakingSubPages)
public void SetPage(MPLobbyVM.LobbyPage lobbyPage, MPMatchmakingVM.MatchmakingSubPages matchmakingSubPage = MatchmakingSubPages.Default)
Parameters
lobbyPage
MPLobbyVM.LobbyPagematchmakingSubPage
MPMatchmakingVM.MatchmakingSubPages
ShowOptionsChangedInquiry(Action, Action)
public void ShowOptionsChangedInquiry(Action onAccept = null, Action onDecline = null)
Parameters
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).