M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Inherits TaleWorlds.Core.GameState.
Public Member Functions | |
void | InitializeLogic (ILobbyStateHandler lobbyStateHandler) |
async Task | UpdateHasMultiplayerPrivilege () |
async Task | UpdateHasCrossplayPrivilege () |
void | OnClientRefusedToJoinCustomServer (GameServerEntry serverEntry) |
async Task | UpdateHasUserGeneratedContentPrivilege (bool showResolveUI) |
async Task | TryLogin () |
async Task | TryLogin (string userName, string password, bool forceAntiCheatEnabled=false) |
void | HostGame () |
void | CreatePremadeGame () |
string | ShowFeedback (string title, string message) |
string | ShowFeedback (InquiryData inquiryData) |
void | DismissFeedback (string messageId) |
void | OnPause () |
void | OnResume () |
void | OnRequestedToSearchBattle () |
void | OnUpdateFindingGame (MatchmakingWaitTimeStats matchmakingWaitTimeStats, string[] gameTypeInfo=null) |
void | OnRequestedToCancelSearchBattle () |
void | OnCancelFindingGame () |
void | OnDisconnected (TextObject feedback) |
void | OnPlayerDataReceived (PlayerData playerData) |
void | OnPendingRejoin () |
void | OnEnterBattleWithParty (string[] selectedGameTypes) |
async void | OnPartyInvitationReceived (string inviterPlayerName, PlayerId playerId) |
void | OnAdminMessageReceived (string message) |
void | OnPartyInvitationInvalidated () |
void | OnPlayerInvitedToParty (PlayerId playerId) |
void | OnPlayerRemovedFromParty (PlayerId playerId, PartyRemoveReason reason) |
void | OnPlayersAddedToParty (List<(PlayerId PlayerId, string PlayerName, bool IsPartyLeader)> addedPlayers, List<(PlayerId PlayerId, string PlayerName)> invitedPlayers) |
void | OnGameClientStateChange (LobbyClient.State state) |
void | SetConnectionState (bool isAuthenticated) |
void | OnActivateHome () |
void | OnActivateCustomServer () |
void | OnActivateMatchmaking () |
void | OnActivateProfile () |
void | OnClanInvitationReceived (string clanName, string clanTag, bool isCreation) |
void | OnClanInvitationAnswered (PlayerId playerId, ClanCreationAnswer answer) |
void | OnClanCreationSuccessful () |
void | OnClanCreationFailed () |
void | OnClanCreationStarted () |
void | OnClanInfoChanged () |
void | OnPremadeGameEligibilityStatusReceived (bool isEligible) |
void | OnPremadeGameCreated () |
void | OnPremadeGameListReceived () |
void | OnPremadeGameCreationCancelled () |
void | OnJoinPremadeGameRequested (string clanName, string clanSigilCode, Guid partyId, PlayerId[] challengerPlayerIDs, PlayerId challengerPartyLeaderID, PremadeGameType premadeGameType) |
void | OnJoinPremadeGameRequestSuccessful () |
void | OnActivateArmory () |
void | OnActivateOptions () |
void | OnDeactivateOptions () |
void | OnCustomGameServerListReceived (AvailableCustomGames customGameServerList) |
void | OnMatchmakerGameOver (int oldExp, int newExp, List< string > badgesEarned, int lootGained, RankBarInfo oldRankBarInfo, RankBarInfo newRankBarInfo) |
void | OnBattleServerLost () |
void | OnRemovedFromMatchmakerGame (DisconnectType disconnectType) |
void | OnRemovedFromCustomGame (DisconnectType disconnectType) |
void | OnPlayerAssignedPartyLeader (PlayerId partyLeaderId) |
void | OnPlayerSuggestedToParty (PlayerId playerId, string playerName, PlayerId suggestingPlayerId, string suggestingPlayerName) |
void | OnJoinCustomGameFailureResponse (CustomGameJoinResponse response) |
void | OnServerStatusReceived (ServerStatus serverStatus) |
void | OnFriendListReceived (FriendInfo[] friends) |
void | OnRecentPlayerStatusesReceived (FriendInfo[] friends) |
void | OnBattleServerInformationReceived (BattleServerInformationForClient battleServerInformation) |
void | OnRejoinBattleRequestAnswered (bool isSuccessful) |
void | OnNotificationsReceived (LobbyNotification[] notifications) |
async Task< bool > | OnInviteToPlatformSession (PlayerId playerId) |
async void | OnPlatformRequestedMultiplayer () |
async void | OnSessionInvitationAccepted (SessionInvitationType targetGameType) |
List< CustomServerAction > | GetCustomActionsForServer (GameServerEntry gameServerEntry) |
void | RegisterForCustomServerAction (Func< GameServerEntry, List< CustomServerAction > > action) |
void | UnregisterForCustomServerAction (Func< GameServerEntry, List< CustomServerAction > > action) |
![]() | |
bool | RegisterListener (IGameStateListener listener) |
bool | UnregisterListener (IGameStateListener listener) |
T | GetListenerOfType< T > () |
![]() | |
MBObjectBase () | |
MBObjectBase (MBObjectBase other) | |
MBObjectBase (string stringId) | |
void | AfterInitialized () |
virtual void | AfterRegister () |
virtual void | Initialize () |
virtual void | Deserialize (MBObjectManager objectManager, XmlNode node) |
override int | GetHashCode () |
virtual TextObject | GetName () |
void | PreAfterLoadInternal () |
void | AfterLoadInternal () |
void | OnRegistered () |
void | OnUnregistered () |
Public Attributes | |
Action< bool > | OnMultiplayerPrivilegeUpdated |
Action< bool > | OnCrossplayPrivilegeUpdated |
Action< bool > | OnUserGeneratedContentPrivilegeUpdated |
![]() | |
int | Level |
Protected Member Functions | |
override async void | OnInitialize () |
override void | OnFinalize () |
override void | OnTick (float dt) |
![]() | |
GameState () | |
virtual void | OnInitialize () |
virtual void | OnFinalize () |
virtual void | OnActivate () |
virtual void | OnDeactivate () |
![]() | |
virtual void | OnBeforeLoad () |
virtual void | PreAfterLoad () |
virtual void | AfterLoad () |
Properties | |
override bool | IsMenuState [get] |
override bool | IsMusicMenuState [get] |
bool | IsLoggingIn [get] |
ILobbyStateHandler | Handler [get, set] |
LobbyClient | LobbyClient [get] |
NewsManager | NewsManager [get] |
bool? | HasMultiplayerPrivilege [get] |
bool? | HasCrossplayPrivilege [get] |
bool? | HasUserGeneratedContentPrivilege [get] |
![]() | |
GameState | Predecessor [get] |
bool | IsActive [get] |
IReadOnlyCollection< IGameStateListener > | Listeners [get] |
GameStateManager | GameStateManager [get] |
virtual bool | IsMusicMenuState [get] |
Whether or not if this state should be treated as a menu state for the music manager. | |
virtual bool | IsMenuState [get] |
Whether or not if this state is a screen/menu state for GUI. | |
virtual bool | IsMission [get] |
bool | Activated [get] |
![]() | |
string | StringId [get, set] |
MBGUID | Id [get, set] |
bool | IsInitialized [get] |
bool | IsReady [get, set] |
Events | |
Action< GameServerEntry > | ClientRefusedToJoinCustomServer |
Additional Inherited Members | |
![]() | |
static int | NumberOfListenerActivations |
void TaleWorlds.MountAndBlade.LobbyState.InitializeLogic | ( | ILobbyStateHandler | lobbyStateHandler | ) |
|
protectedvirtual |
Reimplemented from TaleWorlds.Core.GameState.
|
protectedvirtual |
Reimplemented from TaleWorlds.Core.GameState.
|
protectedvirtual |
Reimplemented from TaleWorlds.Core.GameState.
async Task TaleWorlds.MountAndBlade.LobbyState.UpdateHasMultiplayerPrivilege | ( | ) |
async Task TaleWorlds.MountAndBlade.LobbyState.UpdateHasCrossplayPrivilege | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnClientRefusedToJoinCustomServer | ( | GameServerEntry | serverEntry | ) |
async Task TaleWorlds.MountAndBlade.LobbyState.UpdateHasUserGeneratedContentPrivilege | ( | bool | showResolveUI | ) |
async Task TaleWorlds.MountAndBlade.LobbyState.TryLogin | ( | ) |
async Task TaleWorlds.MountAndBlade.LobbyState.TryLogin | ( | string | userName, |
string | password, | ||
bool | forceAntiCheatEnabled = false |
||
) |
void TaleWorlds.MountAndBlade.LobbyState.HostGame | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.CreatePremadeGame | ( | ) |
string TaleWorlds.MountAndBlade.LobbyState.ShowFeedback | ( | string | title, |
string | message | ||
) |
string TaleWorlds.MountAndBlade.LobbyState.ShowFeedback | ( | InquiryData | inquiryData | ) |
void TaleWorlds.MountAndBlade.LobbyState.DismissFeedback | ( | string | messageId | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnPause | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnResume | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnRequestedToSearchBattle | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnUpdateFindingGame | ( | MatchmakingWaitTimeStats | matchmakingWaitTimeStats, |
string[] | gameTypeInfo = null |
||
) |
void TaleWorlds.MountAndBlade.LobbyState.OnRequestedToCancelSearchBattle | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnCancelFindingGame | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnDisconnected | ( | TextObject | feedback | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnPlayerDataReceived | ( | PlayerData | playerData | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnPendingRejoin | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnEnterBattleWithParty | ( | string[] | selectedGameTypes | ) |
async void TaleWorlds.MountAndBlade.LobbyState.OnPartyInvitationReceived | ( | string | inviterPlayerName, |
PlayerId | playerId | ||
) |
void TaleWorlds.MountAndBlade.LobbyState.OnAdminMessageReceived | ( | string | message | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnPartyInvitationInvalidated | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnPlayerInvitedToParty | ( | PlayerId | playerId | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnPlayerRemovedFromParty | ( | PlayerId | playerId, |
PartyRemoveReason | reason | ||
) |
void TaleWorlds.MountAndBlade.LobbyState.OnPlayersAddedToParty | ( | List<(PlayerId PlayerId, string PlayerName, bool IsPartyLeader)> | addedPlayers, |
List<(PlayerId PlayerId, string PlayerName)> | invitedPlayers | ||
) |
void TaleWorlds.MountAndBlade.LobbyState.OnGameClientStateChange | ( | LobbyClient::State | state | ) |
void TaleWorlds.MountAndBlade.LobbyState.SetConnectionState | ( | bool | isAuthenticated | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnActivateHome | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnActivateCustomServer | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnActivateMatchmaking | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnActivateProfile | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnClanInvitationReceived | ( | string | clanName, |
string | clanTag, | ||
bool | isCreation | ||
) |
void TaleWorlds.MountAndBlade.LobbyState.OnClanInvitationAnswered | ( | PlayerId | playerId, |
ClanCreationAnswer | answer | ||
) |
void TaleWorlds.MountAndBlade.LobbyState.OnClanCreationSuccessful | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnClanCreationFailed | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnClanCreationStarted | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnClanInfoChanged | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnPremadeGameEligibilityStatusReceived | ( | bool | isEligible | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnPremadeGameCreated | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnPremadeGameListReceived | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnPremadeGameCreationCancelled | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnJoinPremadeGameRequested | ( | string | clanName, |
string | clanSigilCode, | ||
Guid | partyId, | ||
PlayerId[] | challengerPlayerIDs, | ||
PlayerId | challengerPartyLeaderID, | ||
PremadeGameType | premadeGameType | ||
) |
void TaleWorlds.MountAndBlade.LobbyState.OnJoinPremadeGameRequestSuccessful | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnActivateArmory | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnActivateOptions | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnDeactivateOptions | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnCustomGameServerListReceived | ( | AvailableCustomGames | customGameServerList | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnMatchmakerGameOver | ( | int | oldExp, |
int | newExp, | ||
List< string > | badgesEarned, | ||
int | lootGained, | ||
RankBarInfo | oldRankBarInfo, | ||
RankBarInfo | newRankBarInfo | ||
) |
void TaleWorlds.MountAndBlade.LobbyState.OnBattleServerLost | ( | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnRemovedFromMatchmakerGame | ( | DisconnectType | disconnectType | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnRemovedFromCustomGame | ( | DisconnectType | disconnectType | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnPlayerAssignedPartyLeader | ( | PlayerId | partyLeaderId | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnPlayerSuggestedToParty | ( | PlayerId | playerId, |
string | playerName, | ||
PlayerId | suggestingPlayerId, | ||
string | suggestingPlayerName | ||
) |
void TaleWorlds.MountAndBlade.LobbyState.OnJoinCustomGameFailureResponse | ( | CustomGameJoinResponse | response | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnServerStatusReceived | ( | ServerStatus | serverStatus | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnFriendListReceived | ( | FriendInfo[] | friends | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnRecentPlayerStatusesReceived | ( | FriendInfo[] | friends | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnBattleServerInformationReceived | ( | BattleServerInformationForClient | battleServerInformation | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnRejoinBattleRequestAnswered | ( | bool | isSuccessful | ) |
void TaleWorlds.MountAndBlade.LobbyState.OnNotificationsReceived | ( | LobbyNotification[] | notifications | ) |
async Task< bool > TaleWorlds.MountAndBlade.LobbyState.OnInviteToPlatformSession | ( | PlayerId | playerId | ) |
async void TaleWorlds.MountAndBlade.LobbyState.OnPlatformRequestedMultiplayer | ( | ) |
async void TaleWorlds.MountAndBlade.LobbyState.OnSessionInvitationAccepted | ( | SessionInvitationType | targetGameType | ) |
List< CustomServerAction > TaleWorlds.MountAndBlade.LobbyState.GetCustomActionsForServer | ( | GameServerEntry | gameServerEntry | ) |
void TaleWorlds.MountAndBlade.LobbyState.RegisterForCustomServerAction | ( | Func< GameServerEntry, List< CustomServerAction > > | action | ) |
void TaleWorlds.MountAndBlade.LobbyState.UnregisterForCustomServerAction | ( | Func< GameServerEntry, List< CustomServerAction > > | action | ) |
Action<bool> TaleWorlds.MountAndBlade.LobbyState.OnMultiplayerPrivilegeUpdated |
Action<bool> TaleWorlds.MountAndBlade.LobbyState.OnCrossplayPrivilegeUpdated |
Action<bool> TaleWorlds.MountAndBlade.LobbyState.OnUserGeneratedContentPrivilegeUpdated |
|
get |
|
get |
|
get |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
get |
Action<GameServerEntry> TaleWorlds.MountAndBlade.LobbyState.ClientRefusedToJoinCustomServer |