M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Inherits TaleWorlds.MountAndBlade.MissionLogic, and TaleWorlds.MountAndBlade.IUdpNetworkHandler.
Inherited by TaleWorlds.MountAndBlade.ConsoleMatchStartEndHandler, TaleWorlds.MountAndBlade.MissionLobbyComponent, TaleWorlds.MountAndBlade.MissionLobbyEquipmentNetworkComponent, TaleWorlds.MountAndBlade.MissionMatchHistoryComponent, TaleWorlds.MountAndBlade.MissionMultiplayerGameModeBase, TaleWorlds.MountAndBlade.MissionMultiplayerGameModeBaseClient, TaleWorlds.MountAndBlade.MissionNetworkComponent, TaleWorlds.MountAndBlade.MissionRecentPlayersComponent, TaleWorlds.MountAndBlade.MissionScoreboardComponent, TaleWorlds.MountAndBlade.MultiplayerAdminComponent, TaleWorlds.MountAndBlade.MultiplayerGameNotificationsComponent, TaleWorlds.MountAndBlade.MultiplayerMissionAgentVisualSpawnComponent, TaleWorlds.MountAndBlade.MultiplayerPollComponent, TaleWorlds.MountAndBlade.MultiplayerPreloadHelper, TaleWorlds.MountAndBlade.MultiplayerRoundComponent, TaleWorlds.MountAndBlade.MultiplayerRoundController, TaleWorlds.MountAndBlade.MultiplayerTeamSelectComponent, TaleWorlds.MountAndBlade.MultiplayerTimerComponent, TaleWorlds.MountAndBlade.MultiplayerWarmupComponent, and TaleWorlds.MountAndBlade.VoiceChatHandler.
Public Member Functions | |
override void | OnAfterMissionCreated () |
override void | OnBehaviorInitialize () |
override void | OnRemoveBehavior () |
virtual void | OnPlayerConnectedToServer (NetworkCommunicator networkPeer) |
virtual void | OnPlayerDisconnectedFromServer (NetworkCommunicator networkPeer) |
![]() | |
virtual InquiryData | OnEndMissionRequest (out bool canLeave) |
virtual bool | MissionEnded (ref MissionResult missionResult) |
virtual void | OnBattleEnded () |
virtual void | ShowBattleResults () |
virtual void | OnRetreatMission () |
virtual void | OnSurrenderMission () |
virtual void | OnAutoDeployTeam (Team team) |
virtual List< EquipmentElement > | GetExtraEquipmentElementsForCharacter (BasicCharacterObject character, bool getAllEquipments=false) |
virtual void | OnMissionResultReady (MissionResult missionResult) |
![]() | |
virtual void | OnAfterMissionCreated () |
virtual void | OnBehaviorInitialize () |
virtual void | OnCreated () |
virtual void | EarlyStart () |
virtual void | AfterStart () |
virtual void | OnMissileHit (Agent attacker, Agent victim, bool isCanceled, AttackCollisionData collisionData) |
virtual void | OnMeleeHit (Agent attacker, Agent victim, bool isCanceled, AttackCollisionData collisionData) |
virtual void | OnMissileCollisionReaction (Mission.MissileCollisionReaction collisionReaction, Agent attackerAgent, Agent attachedAgent, sbyte attachedBoneIndex) |
virtual void | OnMissionScreenPreLoad () |
virtual void | OnAgentCreated (Agent agent) |
virtual void | OnAgentBuild (Agent agent, Banner banner) |
virtual void | OnAgentTeamChanged (Team prevTeam, Team newTeam, Agent agent) |
virtual void | OnAgentHit (Agent affectedAgent, Agent affectorAgent, in MissionWeapon affectorWeapon, in Blow blow, in AttackCollisionData attackCollisionData) |
virtual void | OnScoreHit (Agent affectedAgent, Agent affectorAgent, WeaponComponentData attackerWeapon, bool isBlocked, bool isSiegeEngineHit, in Blow blow, in AttackCollisionData collisionData, float damagedHp, float hitDistance, float shotDifficulty) |
virtual void | OnEarlyAgentRemoved (Agent affectedAgent, Agent affectorAgent, AgentState agentState, KillingBlow blow) |
virtual void | OnAgentRemoved (Agent affectedAgent, Agent affectorAgent, AgentState agentState, KillingBlow blow) |
virtual void | OnAgentDeleted (Agent affectedAgent) |
virtual void | OnAgentFleeing (Agent affectedAgent) |
virtual void | OnAgentPanicked (Agent affectedAgent) |
virtual void | OnFocusGained (Agent agent, IFocusable focusableObject, bool isInteractable) |
virtual void | OnFocusLost (Agent agent, IFocusable focusableObject) |
virtual void | OnAddTeam (Team team) |
virtual void | AfterAddTeam (Team team) |
virtual void | OnAgentInteraction (Agent userAgent, Agent agent) |
virtual void | OnClearScene () |
virtual void | OnEndMissionInternal () |
Do not override this. | |
virtual void | OnRemoveBehavior () |
virtual void | OnPreMissionTick (float dt) |
virtual void | OnPreDisplayMissionTick (float dt) |
virtual void | OnMissionTick (float dt) |
virtual void | OnAgentMount (Agent agent) |
virtual void | OnAgentDismount (Agent agent) |
virtual bool | IsThereAgentAction (Agent userAgent, Agent otherAgent) |
virtual void | OnEntityRemoved (GameEntity entity) |
virtual void | OnObjectUsed (Agent userAgent, UsableMissionObject usedObject) |
virtual void | OnObjectStoppedBeingUsed (Agent userAgent, UsableMissionObject usedObject) |
virtual void | OnRenderingStarted () |
virtual void | OnMissionStateActivated () |
Called either after the mission is first initialized or the mission state is re-activated when a prior state (like inventory) is popped out of GameState stack. | |
virtual void | OnMissionStateFinalized () |
Called right before the mission state is finalized and any remaining allocated mission resources are released. This is not the same as OnMissionEnd callback which is called after the player clicks end/retreat button on battle results screen. MissionState is deallocated some time after OnMissionEnd to let MissionBehaviors to correctly deallocated themselves. Certain data structures (like Mission's agent list) are emptied here so do not depend on them. This is the final callback mission behaviors will receive before they are removed entirely. | |
virtual void | OnMissionStateDeactivated () |
Called either before mission is finalized or the mission state is deactivated due to another state (like inventory) being pushed into GameStates stack. | |
virtual void | OnMissionRestart () |
virtual List< CompassItemUpdateParams > | GetCompassTargets () |
virtual void | OnAssignPlayerAsSergeantOfFormation (Agent agent) |
virtual void | OnDeploymentFinished () |
virtual void | OnFormationUnitsSpawned (Team team) |
virtual void | OnAgentAlarmedStateChanged (Agent agent, Agent.AIStateFlag flag) |
virtual void | OnMissionModeChange (MissionMode oldMissionMode, bool atStart) |
virtual void | OnItemPickup (Agent agent, SpawnedItemEntity item) |
virtual void | OnItemDrop (Agent agent, SpawnedItemEntity item) |
virtual void | OnRegisterBlow (Agent attacker, Agent victim, GameEntity realHitEntity, Blow b, ref AttackCollisionData collisionData, in MissionWeapon attackerWeapon) |
virtual void | OnAgentShootMissile (Agent shooterAgent, EquipmentIndex weaponIndex, Vec3 position, Vec3 velocity, Mat3 orientation, bool hasRigidBody, int forcedMissileIndex) |
void | OnUdpNetworkHandlerClose () |
void | OnUdpNetworkHandlerTick (float dt) |
void | HandleNewClientConnect (PlayerConnectionInfo clientConnectionInfo) |
void | HandleEarlyNewClientAfterLoadingFinished (NetworkCommunicator networkPeer) |
void | HandleNewClientAfterLoadingFinished (NetworkCommunicator networkPeer) |
void | HandleLateNewClientAfterLoadingFinished (NetworkCommunicator networkPeer) |
void | HandleNewClientAfterSynchronized (NetworkCommunicator networkPeer) |
void | HandleLateNewClientAfterSynchronized (NetworkCommunicator networkPeer) |
void | HandleEarlyPlayerDisconnect (NetworkCommunicator networkPeer) |
void | HandlePlayerDisconnect (NetworkCommunicator networkPeer) |
void | OnPlayerDisconnectedFromServer (NetworkCommunicator networkPeer) |
void | OnDisconnectedFromServer () |
void | OnEveryoneUnSynchronized () |
Protected Member Functions | |
virtual void | AddRemoveMessageHandlers (GameNetwork.NetworkMessageHandlerRegistererContainer registerer) |
virtual void | OnUdpNetworkHandlerTick () |
virtual void | OnUdpNetworkHandlerClose () |
virtual void | HandleNewClientConnect (PlayerConnectionInfo clientConnectionInfo) |
virtual void | HandleEarlyNewClientAfterLoadingFinished (NetworkCommunicator networkPeer) |
virtual void | HandleNewClientAfterLoadingFinished (NetworkCommunicator networkPeer) |
virtual void | HandleLateNewClientAfterLoadingFinished (NetworkCommunicator networkPeer) |
virtual void | HandleNewClientAfterSynchronized (NetworkCommunicator networkPeer) |
virtual void | HandleLateNewClientAfterSynchronized (NetworkCommunicator networkPeer) |
virtual void | HandleEarlyPlayerDisconnect (NetworkCommunicator networkPeer) |
virtual void | HandlePlayerDisconnect (NetworkCommunicator networkPeer) |
![]() | |
virtual void | OnEndMission () |
Called right before the mission ends (i.e. after player clicks done/retreat button in battle results screen for SP missions). Preferably unregister all your Mission dependent events here. Some mission fields (like agent lists) will be deallocated after the mission ends. | |
Additional Inherited Members | |
![]() | |
override MissionBehaviorType | BehaviorType [get] |
![]() | |
Mission | Mission [get] |
IInputContext | DebugInput [get] |
abstract MissionBehaviorType | BehaviorType [get] |
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.MissionBehavior.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.MissionBehavior.
Reimplemented in TaleWorlds.MountAndBlade.ConsoleMatchStartEndHandler, TaleWorlds.MountAndBlade.MissionCustomGameClientComponent, TaleWorlds.MountAndBlade.MissionLobbyComponent, TaleWorlds.MountAndBlade.MissionLobbyEquipmentNetworkComponent, TaleWorlds.MountAndBlade.MissionMatchHistoryComponent, TaleWorlds.MountAndBlade.MissionNetworkComponent, TaleWorlds.MountAndBlade.MultiplayerAdminComponent, TaleWorlds.MountAndBlade.MissionMultiplayerGameModeBaseClient, TaleWorlds.MountAndBlade.MissionMultiplayerGameModeDuelClient, TaleWorlds.MountAndBlade.MissionMultiplayerGameModeFlagDominationClient, TaleWorlds.MountAndBlade.MissionMultiplayerSiegeClient, TaleWorlds.MountAndBlade.MissionMultiplayerTeamDeathmatchClient, TaleWorlds.MountAndBlade.MissionMultiplayerDuel, TaleWorlds.MountAndBlade.MissionMultiplayerFlagDomination, TaleWorlds.MountAndBlade.MissionMultiplayerGameModeBase, TaleWorlds.MountAndBlade.MissionMultiplayerSiege, TaleWorlds.MountAndBlade.MissionMultiplayerTeamDeathmatch, TaleWorlds.MountAndBlade.MultiplayerPollComponent, TaleWorlds.MountAndBlade.MultiplayerTeamSelectComponent, TaleWorlds.MountAndBlade.MultiplayerWarmupComponent, and TaleWorlds.MountAndBlade.VoiceChatHandler.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.MissionBehavior.
Reimplemented in TaleWorlds.MountAndBlade.ConsoleMatchStartEndHandler, TaleWorlds.MountAndBlade.MissionLobbyComponent, TaleWorlds.MountAndBlade.MissionMatchHistoryComponent, TaleWorlds.MountAndBlade.MissionNetworkComponent, TaleWorlds.MountAndBlade.MissionRecentPlayersComponent, TaleWorlds.MountAndBlade.MissionScoreboardComponent, TaleWorlds.MountAndBlade.MultiplayerAdminComponent, TaleWorlds.MountAndBlade.MissionMultiplayerGameModeDuelClient, TaleWorlds.MountAndBlade.MissionMultiplayerGameModeFlagDominationClient, TaleWorlds.MountAndBlade.MissionMultiplayerSiegeClient, TaleWorlds.MountAndBlade.MissionMultiplayerTeamDeathmatchClient, TaleWorlds.MountAndBlade.MissionMultiplayerFlagDomination, TaleWorlds.MountAndBlade.MissionMultiplayerSiege, TaleWorlds.MountAndBlade.MultiplayerRoundController, TaleWorlds.MountAndBlade.MultiplayerTeamSelectComponent, TaleWorlds.MountAndBlade.MultiplayerWarmupComponent, and TaleWorlds.MountAndBlade.VoiceChatHandler.
|
protectedvirtual |
Reimplemented in TaleWorlds.MountAndBlade.MissionLobbyComponent, TaleWorlds.MountAndBlade.MissionLobbyEquipmentNetworkComponent, TaleWorlds.MountAndBlade.MissionMatchHistoryComponent, TaleWorlds.MountAndBlade.MissionNetworkComponent, TaleWorlds.MountAndBlade.MissionScoreboardComponent, TaleWorlds.MountAndBlade.MultiplayerAdminComponent, TaleWorlds.MountAndBlade.MissionMultiplayerGameModeFlagDominationClient, TaleWorlds.MountAndBlade.MissionMultiplayerSiegeClient, TaleWorlds.MountAndBlade.MissionMultiplayerTeamDeathmatchClient, TaleWorlds.MountAndBlade.MissionMultiplayerDuel, TaleWorlds.MountAndBlade.MissionMultiplayerFlagDomination, TaleWorlds.MountAndBlade.MultiplayerGameNotificationsComponent, TaleWorlds.MountAndBlade.MultiplayerPollComponent, TaleWorlds.MountAndBlade.MultiplayerTeamSelectComponent, and TaleWorlds.MountAndBlade.VoiceChatHandler.
|
virtual |
Reimplemented in TaleWorlds.MountAndBlade.MissionScoreboardComponent.
|
virtual |
|
protectedvirtual |
Reimplemented in TaleWorlds.MountAndBlade.MissionLobbyComponent.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Implements TaleWorlds.MountAndBlade.IUdpNetworkHandler.
Reimplemented in TaleWorlds.MountAndBlade.MissionNetworkComponent, TaleWorlds.MountAndBlade.MissionMultiplayerDuel, TaleWorlds.MountAndBlade.MissionMultiplayerFFA, TaleWorlds.MountAndBlade.MissionMultiplayerFlagDomination, TaleWorlds.MountAndBlade.MissionMultiplayerSiege, and TaleWorlds.MountAndBlade.MissionMultiplayerTeamDeathmatch.
|
protectedvirtual |
Implements TaleWorlds.MountAndBlade.IUdpNetworkHandler.
Reimplemented in TaleWorlds.MountAndBlade.MissionMultiplayerFlagDomination, and TaleWorlds.MountAndBlade.MissionMultiplayerSiege.
|
protectedvirtual |
Implements TaleWorlds.MountAndBlade.IUdpNetworkHandler.
Reimplemented in TaleWorlds.MountAndBlade.MissionLobbyComponent, TaleWorlds.MountAndBlade.MissionLobbyEquipmentNetworkComponent, TaleWorlds.MountAndBlade.MissionNetworkComponent, TaleWorlds.MountAndBlade.MissionMultiplayerGameModeBase, and TaleWorlds.MountAndBlade.MultiplayerRoundController.
|
protectedvirtual |
Implements TaleWorlds.MountAndBlade.IUdpNetworkHandler.
Reimplemented in TaleWorlds.MountAndBlade.MissionMultiplayerDuel, TaleWorlds.MountAndBlade.MissionMultiplayerFFA, TaleWorlds.MountAndBlade.MissionMultiplayerFlagDomination, TaleWorlds.MountAndBlade.MissionMultiplayerSiege, TaleWorlds.MountAndBlade.MissionMultiplayerTeamDeathmatch, TaleWorlds.MountAndBlade.MultiplayerRoundController, and TaleWorlds.MountAndBlade.MultiplayerWarmupComponent.
|
protectedvirtual |
Implements TaleWorlds.MountAndBlade.IUdpNetworkHandler.
Reimplemented in TaleWorlds.MountAndBlade.MissionScoreboardComponent, and TaleWorlds.MountAndBlade.MissionMultiplayerDuel.
|
protectedvirtual |
|
protectedvirtual |