|
M&B: Bannerlord 1.3.4
The horns sound, the ravens gather.
|
Inherits DotNetObject, and TaleWorlds.Core.IMission.
Classes | |
| struct | CorpseAgentInfo |
| class | DynamicallyCreatedEntity |
| class | MBBoundaryCollection |
| class | Missile |
| class | MissionNetworkHelper |
| struct | SpectatorData |
| class | TeamCollection |
| struct | TimeSpeedRequest |
Public Types | |
| enum | WeaponSpawnFlags : uint { None = 0x00000000 , WithHolster = 0x00000001 , WithoutHolster = 0x00000002 , AsMissile = 0x00000004 , WithPhysics = 0x00000008 , WithStaticPhysics = 0x00000010 , UseAnimationSpeed = 0x00000020 , CannotBePickedUp = 0x00000040 } |
| enum | MissionCombatType : int { Combat = 0 , ArenaCombat = 1 , NoCombat = 2 } |
| Combat type of the mission. More... | |
| enum | BattleSizeType { Battle , Siege , SallyOut } |
| enum | State { NewlyCreated , Initializing , Continuing , EndingNextFrame , Over } |
| enum | BattleSizeQualifier { Small , Medium } |
| enum | MissionTeamAITypeEnum { NoTeamAI = 0 , FieldBattle = 1 , Siege = 2 , SallyOut = 3 , NavalBattle = 4 } |
| enum | MissileCollisionReaction { Invalid = -1 , Stick , PassThrough , BounceBack , BecomeInvisible , Count } |
| enum | MissionTickAction { TryToSheathWeaponInHand , RemoveEquippedWeapon , TryToWieldWeaponInSlot , DropItem , RegisterDrownBlow } |
Public Member Functions | |
| IEnumerable< WeakGameEntity > | GetActiveEntitiesWithScriptComponentOfType< T > () |
| void | AddActiveMissionObject (MissionObject missionObject) |
| void | ActivateMissionObject (MissionObject missionObject) |
| void | DeactivateMissionObject (MissionObject missionObject) |
| void | SetMissionCombatType (MissionCombatType missionCombatType) |
| void | ConversationCharacterChanged () |
| void | SetMissionMode (MissionMode newMode, bool atStart) |
| float | GetAverageFps () |
| bool | GetFallAvoidSystemActive () |
| void | SetFallAvoidSystemActive (bool fallAvoidActive) |
| bool | IsPositionInsideBoundaries (Vec2 position) |
| Checks if the given position is inside or outside of the mission boundaries. | |
| bool | IsPositionInsideHardBoundaries (Vec2 position) |
| bool | IsPositionInsideAnyBlockerNavMeshFace2D (Vec2 position) |
| bool | IsPositionOnAnyBlockerNavMeshFace (Vec3 position) |
| Agent | RayCastForClosestAgent (Vec3 sourcePoint, Vec3 targetPoint, int excludedAgentIndex, float rayThickness, out float collisionDistance) |
| Agent | RayCastForClosestAgentsLimbs (Vec3 sourcePoint, Vec3 targetPoint, int excludedAgentIndex, float rayThickness, out float collisionDistance, out sbyte boneIndex) |
| bool | RayCastForGivenAgentsLimbs (Vec3 sourcePoint, Vec3 rayFinishPoint, int givenAgentIndex, float rayThickness, out float collisionDistance, out sbyte boneIndex) |
| float | GetBiggestAgentCollisionPadding () |
| void | SetMissionCorpseFadeOutTimeInSeconds (float corpseFadeOutTimeInSeconds) |
| void | SetOverrideCorpseCount (int overrideCorpseCount) |
| void | SetReportStuckAgentsMode (bool value) |
| void | ResetMission () |
| void | Initialize () |
| void | TickAgentsAndTeamsAsync (float dt) |
| void | MakeSound (int soundIndex, Vec3 position, bool soundCanBePredicted, bool isReliable, int relatedAgent1, int relatedAgent2) |
| void | MakeSound (int soundIndex, Vec3 position, bool soundCanBePredicted, bool isReliable, int relatedAgent1, int relatedAgent2, ref SoundEventParameter parameter) |
| void | MakeSoundOnlyOnRelatedPeer (int soundIndex, Vec3 position, int relatedAgent) |
| void | AddDynamicallySpawnedMissionObjectInfo (DynamicallyCreatedEntity entityInfo) |
| Vec3 | GetMissileCollisionPoint (Vec3 missileStartingPosition, Vec3 missileDirection, float missileSpeed, in WeaponData weaponData) |
| void | RemoveMissileAsClient (int missileIndex) |
| void | PrepareMissileWeaponForDrop (int missileIndex) |
| void | AddParticleSystemBurstByName (string particleSystem, MatrixFrame frame, bool synchThroughNetwork) |
| Vec2 | GetClosestBoundaryPosition (Vec2 position) |
| int | GetFreeRuntimeMissionObjectId () |
| int | GetFreeSceneMissionObjectId () |
| void | SetCameraFrame (ref MatrixFrame cameraFrame, float zoomFactor) |
| void | SetCameraFrame (ref MatrixFrame cameraFrame, float zoomFactor, ref Vec3 attenuationPosition) |
| MatrixFrame | GetCameraFrame () |
| void | ResetFirstThirdPersonView () |
| void | SetCustomCameraLocalOffset (Vec3 newCameraOffset) |
| void | SetCustomCameraTargetLocalOffset (Vec3 newTargetLocalOffset) |
| void | SetCustomCameraLocalOffset2 (Vec3 newCameraOffset) |
| void | SetCustomCameraLocalRotationalOffset (Vec3 newCameraRotationalOffset) |
| void | SetCustomCameraGlobalOffset (Vec3 newCameraOffset) |
| void | SetCustomCameraFovMultiplier (float newFovMultiplier) |
| void | SetCustomCameraFixedDistance (float distance) |
| void | SetIgnoredEntityForCamera (GameEntity ignoredEntity) |
| void | SetCustomCameraIgnoreCollision (bool ignoreCollision) |
| void | SetListenerAndAttenuationPosBlendFactor (float factor) |
| void | AddTimeSpeedRequest (TimeSpeedRequest request) |
| void | RemoveTimeSpeedRequest (int timeSpeedRequestID) |
| bool | GetRequestedTimeSpeed (int timeSpeedRequestID, out float requestedTime) |
| void | ClearAgentActions () |
| void | ClearMissiles () |
| void | ClearCorpses (bool isMissionReset) |
| bool | IsAgentInProximityMap (Agent agent) |
| void | OnMissionStateActivate () |
| This routine is called when mission state is activated This happens right after mission is first initialized or when another state is popped out (such as when player enters inventory in mission). | |
| void | OnMissionStateDeactivate () |
| This function is to be called when mission state is deactivated. This happens either before mission state is finalized or when another state is pushed in (such as when player enters inventory in mission) | |
| void | OnMissionStateFinalize (bool forceClearGPUResources) |
| This routine is called when mission state is finalized. Mission will be destroyed after this call and any remaining mission resources will be cleaned up. | |
| void | ClearUnreferencedResources (bool forceClearGPUResources) |
| float | GetMainAgentMaxCameraZoom () |
| WorldPosition | GetBestSlopeTowardsDirection (ref WorldPosition centerPosition, float halfSize, ref WorldPosition referencePosition) |
| WorldPosition | GetBestSlopeAngleHeightPosForDefending (WorldPosition enemyPosition, WorldPosition defendingPosition, int sampleSize, float distanceRatioAllowedFromDefendedPos, float distanceSqrdAllowedFromBoundary, float cosinusOfBestSlope, float cosinusOfMaxAcceptedSlope, float minSlopeScore, float maxSlopeScore, float excessiveSlopePenalty, float nearConeCenterRatio, float nearConeCenterBonus, float heightDifferenceCeiling, float maxDisplacementPenalty) |
| Vec2 | GetAveragePositionOfAgents (List< Agent > agents) |
| void | SetRandomDecideTimeOfAgentsWithIndices (int[] agentIndices, float? minAIReactionTime=null, float? maxAIReactionTime=null) |
| void | SetBowMissileSpeedModifier (float modifier) |
| void | SetCrossbowMissileSpeedModifier (float modifier) |
| void | SetThrowingMissileSpeedModifier (float modifier) |
| void | SetMissileRangeModifier (float modifier) |
| void | SetLastMovementKeyPressed (Agent.MovementControlFlag lastMovementKeyPressed) |
| Vec2 | GetWeightedPointOfEnemies (Agent agent, Vec2 basePoint) |
| bool | GetPathBetweenPositions (ref NavigationData navData) |
| void | SetNavigationFaceCostWithIdAroundPosition (int navigationFaceId, Vec3 position, float cost) |
| WorldPosition | GetStraightPathToTarget (Vec2 targetPosition, WorldPosition startingPosition, float samplingDistance=1f, bool stopAtObstacle=true) |
| void | SkipForwardMissionReplay (float startTime, float endTime) |
| int | GetDebugAgent () |
| void | AddAiDebugText (string str) |
| void | SetDebugAgent (int index) |
| float | GetWaterLevelAtPosition (Vec2 position, bool useWaterRenderer) |
| float | GetWaterLevelAtPositionMT (Vec2 position, bool useWaterRenderer) |
| bool | CanPhysicsCollideBetweenTwoEntities (UIntPtr entity0Ptr, UIntPtr entity1Ptr) |
| delegate void | OnBeforeAgentRemovedDelegate (Agent affectedAgent, Agent affectorAgent, AgentState agentState, KillingBlow killingBlow) |
| delegate void | OnAddSoundAlarmFactorToAgentsDelegate (Agent alarmCreatorAgent, in Vec3 soundPosition, float soundLevelSquareRoot) |
| delegate void | OnMainAgentChangedDelegate (Agent oldAgent) |
| bool | GetDeploymentPlan< T > (out T deploymentPlan) |
| float | GetRemovedAgentRatioForSide (BattleSideEnum side) |
| ref readonly List< SiegeWeapon > | GetAttackerWeaponsForFriendlyFirePreventing () |
| void | OnDeploymentPlanMade (Team team, bool isFirstPlan) |
| WorldPosition | GetAlternatePositionForNavmeshlessOrOutOfBoundsPosition (Vec2 directionTowards, WorldPosition originalPosition, ref float positionPenalty) |
| int | GetNextDynamicNavMeshIdStart () |
| FormationClass | GetAgentTroopClass (BattleSideEnum battleSide, BasicCharacterObject agentCharacter) |
| WorldPosition | GetClosestFleePositionForAgent (Agent agent) |
| WorldPosition | GetClosestFleePositionForFormation (Formation formation) |
| MBReadOnlyList< FleePosition > | GetFleePositionsForSide (BattleSideEnum side) |
| void | AddToWeaponListForFriendlyFirePreventing (SiegeWeapon weapon) |
| Mission (MissionInitializerRecord rec, MissionState missionState, bool needsMemoryCleanup) | |
| Initializes a new instance of the Mission class. | |
| void | SetCloseProximityWaveSoundsEnabled (bool value) |
| void | ForceDisableOcclusion (bool value) |
| void | AddFleePosition (FleePosition fleePosition) |
| void | RetreatMission () |
| void | SurrenderMission () |
| bool | HasMissionBehavior< T > () |
| void | SpawnAttachedWeaponOnCorpse (Agent agent, int attachedWeaponIndex, int forcedSpawnIndex) |
| void | AddMountWithoutRider (Agent mount) |
| void | RemoveMountWithoutRider (Agent mount) |
| void | UpdateMountReservationsAfterRiderMounts (Agent rider, Agent mount) |
| void | OnObjectDisabled (DestructableComponent destructionComponent) |
| MissionObjectId | SpawnWeaponAsDropFromMissile (int missileIndex, MissionObject attachedMissionObject, in MatrixFrame attachLocalFrame, WeaponSpawnFlags spawnFlags, in Vec3 velocity, in Vec3 angularVelocity, int forcedSpawnIndex) |
| void | SpawnWeaponAsDropFromAgentAux (Agent agent, EquipmentIndex equipmentIndex, ref Vec3 globalVelocity, ref Vec3 globalAngularVelocity, WeaponSpawnFlags spawnFlags, int forcedSpawnIndex) |
| void | SpawnAttachedWeaponOnSpawnedWeapon (SpawnedItemEntity spawnedWeapon, int attachmentIndex, int forcedSpawnIndex) |
| GameEntity | SpawnWeaponWithNewEntity (ref MissionWeapon weapon, WeaponSpawnFlags spawnFlags, MatrixFrame frame) |
| GameEntity | SpawnWeaponWithNewEntityAux (MissionWeapon weapon, WeaponSpawnFlags spawnFlags, MatrixFrame frame, int forcedSpawnIndex, MissionObject attachedMissionObject, bool hasLifeTime) |
| void | AttachWeaponWithNewEntityToSpawnedWeapon (MissionWeapon weapon, SpawnedItemEntity spawnedItem, MatrixFrame attachLocalFrame) |
| void | OnEquipItemsFromSpawnEquipmentBegin (Agent agent, Agent.CreationType creationType) |
| void | OnEquipItemsFromSpawnEquipment (Agent agent, Agent.CreationType creationType) |
| void | RecalculateBody (ref WeaponData weaponData, ItemComponent itemComponent, WeaponDesign craftedWeaponData, ref WeaponSpawnFlags spawnFlags) |
| This method will take the body and recalculate it if WeaponData.RecalculateBody is true. RecalculateBody (recalculate_body) is an optional bool (default false) set in spitems.xml for each weapon, along with a starting body (body_name) Recalculating works differently for each item: | |
| void | TickAgentsAndTeamsImp (float dt, bool tickPaused) |
| void | OnTick (float dt, float realDt, bool updateCamera, bool doAsyncAITick) |
| This callback method is called by the engine once in every frame. | |
| void | AddTickAction (MissionTickAction action, Agent agent, int param1, int param2) |
| void | AddTickActionMT (MissionTickAction action, Agent agent, int param1, int param2) |
| void | RemoveSpawnedItemsAndMissiles () |
| void | AfterStart () |
| This function is called by the engine right after a mission is started at the engine side. | |
| void | OnEndMissionRequest () |
| float | GetMissionEndTimeInSeconds () |
| float | GetMissionEndTimerValue () |
| int | GetMemberCountOfSide (BattleSideEnum side) |
| Path | GetInitialSpawnPath () |
| SpawnPathData | GetInitialSpawnPathData (BattleSideEnum battleSide) |
| MBReadOnlyList< SpawnPathData > | GetReinforcementPathsDataOfSide (BattleSideEnum battleSide) |
| void | GetTroopSpawnFrameWithIndex (AgentBuildData buildData, int troopSpawnIndex, int troopSpawnCount, out Vec3 troopSpawnPosition, out Vec2 troopSpawnDirection) |
| Returns a troop's world spawn frame (position & direction) w.r.t. its formation's (or a relevant formation's) spawn position. If the troop spawns into its own formation, then formation's spawn position will be considered as its current position. Troop's spawn position is offset by an amount regarding troop's index within the formation. Troop must have a valid formation. | |
| void | GetFormationSpawnFrame (Team team, FormationClass formationClass, bool isReinforcement, out WorldPosition spawnPosition, out Vec2 spawnDirection) |
| WorldFrame | GetSpawnPathFrame (BattleSideEnum battleSide, float pathOffset=0f, float targetOffset=0f) |
| void | SetBattleAgentCount (int agentCount) |
| Vec2 | GetFormationSpawnPosition (Team team, FormationClass formationClass) |
| FormationClass | GetFormationSpawnClass (Team team, FormationClass formationClass, bool isReinforcement=false) |
| Agent | SpawnAgent (AgentBuildData agentBuildData, bool spawnFromAgentVisuals=false) |
| void | SetInitialAgentCountForSide (BattleSideEnum side, int agentCount) |
| void | SetFormationPositioningFromDeploymentPlan (Formation formation) |
| Agent | SpawnMonster (ItemRosterElement rosterElement, ItemRosterElement harnessRosterElement, in Vec3 initialPosition, in Vec2 initialDirection, int forcedAgentIndex=-1) |
| Agent | SpawnMonster (EquipmentElement equipmentElement, EquipmentElement harnessRosterElement, in Vec3 initialPosition, in Vec2 initialDirection, int forcedAgentIndex=-1) |
| Agent | SpawnTroop (IAgentOriginBase troopOrigin, bool isPlayerSide, bool hasFormation, bool spawnWithHorse, bool isReinforcement, int formationTroopCount, int formationTroopIndex, bool isAlarmed, bool wieldInitialWeapons, bool forceDismounted, Vec3? initialPosition, Vec2? initialDirection, string specialActionSetSuffix=null, ItemObject bannerItem=null, FormationClass formationIndex=FormationClass.Unset, bool useTroopClassForSpawn=false) |
| Agent | ReplaceBotWithPlayer (Agent botAgent, MissionPeer missionPeer) |
| void | OnAgentInteraction (Agent requesterAgent, Agent targetAgent, sbyte agentBoneIndex) |
| Triggered when the player interacts with an agent. | |
| void | EndMission () |
| void | AddMissionBehavior (MissionBehavior missionBehavior) |
| T | GetMissionBehavior< T > () |
| void | RemoveMissionBehavior (MissionBehavior missionBehavior) |
| void | JoinEnemyTeam () |
| void | OnEndMissionResult () |
| bool | IsAgentInteractionAllowed () |
| bool | IsOrderGesturesEnabled () |
| List< EquipmentElement > | GetExtraEquipmentElementsForCharacter (BasicCharacterObject character, bool getAllEquipments=false) |
| bool | IsPlayerCloseToAnEnemy (float distance=5) |
| Vec3 | GetRandomPositionAroundPoint (Vec3 center, float minDistance, float maxDistance, bool nearFirst=false) |
| WorldPosition | FindBestDefendingPosition (WorldPosition enemyPosition, WorldPosition defendedPosition) |
| Finds the best position taking into consideration slope, height and angle wrt the enemy position given and the defended position. | |
| WorldPosition | FindPositionWithBiggestSlopeTowardsDirectionInSquare (ref WorldPosition center, float halfSize, ref WorldPosition referencePosition) |
| Missile | AddCustomMissile (Agent shooterAgent, MissionWeapon missileWeapon, Vec3 position, Vec3 direction, Mat3 orientation, float baseSpeed, float speed, bool addRigidBody, MissionObject missionObjectToIgnore, int forcedMissileIndex=-1) |
| void | OnAgentMount (Agent agent) |
| void | OnAgentDismount (Agent agent) |
| void | OnObjectUsed (Agent userAgent, UsableMissionObject usableGameObject) |
| void | OnObjectStoppedBeingUsed (Agent userAgent, UsableMissionObject usableGameObject) |
| void | InitializeStartingBehaviors (MissionLogic[] logicBehaviors, MissionBehavior[] otherBehaviors, MissionNetwork[] networkBehaviors) |
| Agent | GetClosestEnemyAgent (Team team, Vec3 position, float radius) |
| Agent | GetClosestAllyAgent (Team team, Vec3 position, float radius) |
| int | GetNearbyEnemyAgentCount (Team team, Vec2 position, float radius) |
| bool | HasAnyAgentsOfSideInRange (Vec3 origin, float radius, BattleSideEnum side) |
| void | AddSoundAlarmFactorToAgents (Agent alarmCreatorAgent, in Vec3 soundPosition, float soundLevelSquareRoot) |
| bool | OnMissionObjectRemoved (MissionObject missionObject, int removeReason) |
| bool | AgentLookingAtAgent (Agent agent1, Agent agent2) |
| Agent | FindAgentWithIndex (int agentId) |
| void | OnRenderingStarted () |
| Agent.MovementBehaviorType | GetMovementTypeOfAgents (IEnumerable< Agent > agents) |
| void | ShowInMissionLoadingScreen (int durationInSecond, Action onLoadingEndedAction) |
| bool | CanAgentRout (Agent agent) |
| void | HandleMissileCollisionReaction (int missileIndex, MissileCollisionReaction collisionReaction, MatrixFrame attachLocalFrame, bool isAttachedFrameLocal, Agent attackerAgent, Agent attachedAgent, bool attachedToShield, sbyte attachedBoneIndex, MissionObject attachedMissionObject, Vec3 bounceBackVelocity, Vec3 bounceBackAngularVelocity, int forcedSpawnIndex) |
| void | KillAgentsOnEntity (GameEntity entity, Agent destroyerAgent, bool burnAgents) |
| void | KillAgentCheat (Agent agent) |
| bool | KillCheats (bool killAll, bool killEnemy, bool killHorse, bool killYourself) |
| bool | CanTakeControlOfAgent (Agent agentToTakeControlOf) |
| void | SetPlayerCanTakeControlOfAnotherAgentWhenDead () |
| void | TakeControlOfAgent (Agent agentToTakeControlOf) |
| float | GetDamageMultiplierOfCombatDifficulty (Agent victimAgent, Agent attackerAgent=null) |
| float | GetShootDifficulty (Agent affectedAgent, Agent affectorAgent, bool isHeadShot) |
| void | AddCombatLogSafe (Agent attackerAgent, Agent victimAgent, CombatLogData combatLog) |
| This function stores combat logs to be created. These stored combat logs will be applied in Mission.OnTick function. This function is thread safe. | |
| MissionObject | CreateMissionObjectFromPrefab (string prefab, MatrixFrame frame, Action< GameEntity > actionAppliedBeforeScriptInitialization) |
| int | GetNearbyAllyAgentsCount (Vec2 center, float radius, Team team) |
| MBList< Agent > | GetNearbyAllyAgents (Vec2 center, float radius, Team team, MBList< Agent > agents) |
| MBList< Agent > | GetNearbyEnemyAgents (Vec2 center, float radius, Team team, MBList< Agent > agents) |
| MBList< Agent > | GetNearbyAgents (Vec2 center, float radius, MBList< Agent > agents) |
| bool | IsFormationUnitPositionAvailableMT (ref WorldPosition formationPosition, ref WorldPosition unitPosition, ref WorldPosition nearestAvailableUnitPosition, float manhattanDistance, Team team) |
| bool | IsOrderPositionAvailable (in WorldPosition orderPosition, Team team) |
| bool | IsFormationUnitPositionAvailable (ref WorldPosition unitPosition, Team team) |
| bool | HasSceneMapPatch () |
| bool | GetPatchSceneEncounterPosition (out Vec3 position) |
| bool | GetPatchSceneEncounterDirection (out Vec2 direction) |
| void | AddTimerToDynamicEntity (GameEntity gameEntity, float timeToKill=10.0f) |
| void | AddListener (IMissionListener listener) |
| void | RemoveListener (IMissionListener listener) |
| void | OnAgentFleeing (Agent agent) |
| void | OnAgentPanicked (Agent agent) |
| void | OnTeamDeployed (Team team) |
| Called when a team had finished deployment. | |
| void | OnBattleSideDeployed (BattleSideEnum side) |
| Called when a battle side had finished deployment of all of its teams. | |
| void | OnDeploymentFinished () |
| Called when all deployment is finished (all teams and battle sides have deployed) and when order of battle is finalized (i.e. player clicked start button) | |
| void | OnAfterDeploymentFinished () |
| void | OnFormationCaptainChanged (Formation formation) |
| void | SetFastForwardingFromUI (bool fastForwarding) |
| bool | CheckIfBattleInRetreat () |
| void | AddSpawnedItemEntityCreatedAtRuntime (SpawnedItemEntity spawnedItemEntity) |
| void | TriggerOnItemPickUpEvent (Agent agent, SpawnedItemEntity spawnedItemEntity) |
Static Public Member Functions | |
| static float | GetMissileVerticalAimCorrection (Vec3 vecToTarget, float missileStartingSpeed, ref WeaponStatsData weaponStatsData, float airFrictionConstant) |
| Return corrected angle. | |
| static float | GetMissileRange (float missileStartingSpeed, float heightDifference) |
| static float | GetFirstPersonFov () |
| static string | MakeEnemiesFleeCheat (List< string > strings) |
| static string | MakeTeamFleeCheat (List< string > strings) |
| static string | SetFacialAnimToAgent (List< String > strings) |
| static string | EnableSpeedAdjustmentCommand (List< string > strings) |
| static Agent.UnderAttackType | GetUnderAttackTypeOfAgents (IEnumerable< Agent > agents, float timeLimit=3.0f) |
| static Team | GetAgentTeam (IAgentOriginBase troopOrigin, bool isPlayerSide) |
| static Team | GetTeam (TeamSideEnum teamSide) |
| static IEnumerable< Team > | GetTeamsOfSide (BattleSideEnum side) |
| static float | GetBattleSizeOffset (int battleSize, Path path) |
| static float | GetPathOffsetFromDistance (float distance, Path path) |
| static float | GetBattleSizeFactor (int battleSize, float normalizationFactor) |
| static string | KillNAllies (List< string > strings) |
| static string | KillAllAllies (List< string > strings) |
| static string | ToggleDisableDying (List< string > strings) |
| static string | ToggleDisableDyingTeam (List< string > strings) |
| static string | KillAgent (List< String > strings) |
| static string | IncreaseBatteringRamSpeeds (List< String > strings) |
| static string | IncreaseSiegeTowerSpeed (List< string > strings) |
| static string | LoadParamsDebug (List< string > strings) |
Public Attributes | |
| bool | DisableDying = false |
| bool | ForceNoFriendlyFire = false |
| bool | IsFriendlyMission = true |
| BasicCultureObject | MusicCulture |
| bool | IsOrderMenuOpen |
| bool | IsTransferMenuOpen |
| bool | IsInPhotoMode |
| bool | AllowAiTicking = true |
| IAgentVisualCreator | AgentVisualCreator |
| float | MissionCloseTimeAfterFinish = 30.0f |
| float | NextCheckTimeEndMission = 10.0f |
| Time in seconds for specifying the next check for the conditions of ending the current mission. | |
| int | NumOfFormationsSpawnedTeamOne |
| int | NumOfFormationsSpawnedTeamTwo |
Static Public Attributes | |
| const int | MaxRuntimeMissionObjects = 8191 |
| const int | MaxNavMeshId = 1000000 |
| const int | MaxDamage = 2000 |
Events | |
| System.ComponentModel.PropertyChangedEventHandler | OnMissionReset |
| OnBeforeAgentRemovedDelegate | OnBeforeAgentRemoved |
| Func< WorldPosition, Team, bool > | IsFormationUnitPositionAvailable_AdditionalCondition |
| Func< Agent, bool > | CanAgentRout_AdditionalCondition |
| OnAddSoundAlarmFactorToAgentsDelegate | OnAddSoundAlarmFactorToAgents |
| Func< bool > | IsAgentInteractionAllowed_AdditionalCondition |
| OnMainAgentChangedDelegate | OnMainAgentChanged |
| Func< BattleSideEnum, BasicCharacterObject, FormationClass > | GetAgentTroopClass_Override |
| Action< Agent, SpawnedItemEntity > | OnItemPickUp |
| Action< Agent, SpawnedItemEntity > | OnItemDrop |
| Action< Formation > | FormationCaptainChanged |
| Func< Agent, WorldPosition?> | GetOverriddenFleePositionForAgent |
| Func< bool > | AreOrderGesturesEnabled_AdditionalCondition |
| Func< bool > | IsBattleInRetreatEvent |
| Action< int > | OnMissileRemovedEvent |
| TaleWorlds.MountAndBlade.Mission.Mission | ( | MissionInitializerRecord | rec, |
| MissionState | missionState, | ||
| bool | needsMemoryCleanup ) |
| IEnumerable< WeakGameEntity > TaleWorlds.MountAndBlade.Mission.GetActiveEntitiesWithScriptComponentOfType< T > | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.AddActiveMissionObject | ( | MissionObject | missionObject | ) |
| void TaleWorlds.MountAndBlade.Mission.ActivateMissionObject | ( | MissionObject | missionObject | ) |
| void TaleWorlds.MountAndBlade.Mission.DeactivateMissionObject | ( | MissionObject | missionObject | ) |
| void TaleWorlds.MountAndBlade.Mission.SetMissionCombatType | ( | MissionCombatType | missionCombatType | ) |
| void TaleWorlds.MountAndBlade.Mission.ConversationCharacterChanged | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.SetMissionMode | ( | MissionMode | newMode, |
| bool | atStart ) |
| float TaleWorlds.MountAndBlade.Mission.GetAverageFps | ( | ) |
| bool TaleWorlds.MountAndBlade.Mission.GetFallAvoidSystemActive | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.SetFallAvoidSystemActive | ( | bool | fallAvoidActive | ) |
| bool TaleWorlds.MountAndBlade.Mission.IsPositionInsideBoundaries | ( | Vec2 | position | ) |
| position |
| bool TaleWorlds.MountAndBlade.Mission.IsPositionInsideHardBoundaries | ( | Vec2 | position | ) |
| bool TaleWorlds.MountAndBlade.Mission.IsPositionInsideAnyBlockerNavMeshFace2D | ( | Vec2 | position | ) |
| bool TaleWorlds.MountAndBlade.Mission.IsPositionOnAnyBlockerNavMeshFace | ( | Vec3 | position | ) |
| Agent TaleWorlds.MountAndBlade.Mission.RayCastForClosestAgent | ( | Vec3 | sourcePoint, |
| Vec3 | targetPoint, | ||
| int | excludedAgentIndex, | ||
| float | rayThickness, | ||
| out float | collisionDistance ) |
| Agent TaleWorlds.MountAndBlade.Mission.RayCastForClosestAgentsLimbs | ( | Vec3 | sourcePoint, |
| Vec3 | targetPoint, | ||
| int | excludedAgentIndex, | ||
| float | rayThickness, | ||
| out float | collisionDistance, | ||
| out sbyte | boneIndex ) |
| bool TaleWorlds.MountAndBlade.Mission.RayCastForGivenAgentsLimbs | ( | Vec3 | sourcePoint, |
| Vec3 | rayFinishPoint, | ||
| int | givenAgentIndex, | ||
| float | rayThickness, | ||
| out float | collisionDistance, | ||
| out sbyte | boneIndex ) |
| float TaleWorlds.MountAndBlade.Mission.GetBiggestAgentCollisionPadding | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.SetMissionCorpseFadeOutTimeInSeconds | ( | float | corpseFadeOutTimeInSeconds | ) |
Set to -1 to disable the override and use the default value.
| void TaleWorlds.MountAndBlade.Mission.SetOverrideCorpseCount | ( | int | overrideCorpseCount | ) |
Set to -1 to disable the override and use the value from config.
| void TaleWorlds.MountAndBlade.Mission.SetReportStuckAgentsMode | ( | bool | value | ) |
| void TaleWorlds.MountAndBlade.Mission.ResetMission | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.Initialize | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.TickAgentsAndTeamsAsync | ( | float | dt | ) |
| void TaleWorlds.MountAndBlade.Mission.MakeSound | ( | int | soundIndex, |
| Vec3 | position, | ||
| bool | soundCanBePredicted, | ||
| bool | isReliable, | ||
| int | relatedAgent1, | ||
| int | relatedAgent2 ) |
| void TaleWorlds.MountAndBlade.Mission.MakeSound | ( | int | soundIndex, |
| Vec3 | position, | ||
| bool | soundCanBePredicted, | ||
| bool | isReliable, | ||
| int | relatedAgent1, | ||
| int | relatedAgent2, | ||
| ref SoundEventParameter | parameter ) |
| void TaleWorlds.MountAndBlade.Mission.MakeSoundOnlyOnRelatedPeer | ( | int | soundIndex, |
| Vec3 | position, | ||
| int | relatedAgent ) |
| void TaleWorlds.MountAndBlade.Mission.AddDynamicallySpawnedMissionObjectInfo | ( | DynamicallyCreatedEntity | entityInfo | ) |
| Vec3 TaleWorlds.MountAndBlade.Mission.GetMissileCollisionPoint | ( | Vec3 | missileStartingPosition, |
| Vec3 | missileDirection, | ||
| float | missileSpeed, | ||
| in WeaponData | weaponData ) |
| void TaleWorlds.MountAndBlade.Mission.RemoveMissileAsClient | ( | int | missileIndex | ) |
|
static |
|
static |
| void TaleWorlds.MountAndBlade.Mission.PrepareMissileWeaponForDrop | ( | int | missileIndex | ) |
| void TaleWorlds.MountAndBlade.Mission.AddParticleSystemBurstByName | ( | string | particleSystem, |
| MatrixFrame | frame, | ||
| bool | synchThroughNetwork ) |
| int TaleWorlds.MountAndBlade.Mission.GetFreeRuntimeMissionObjectId | ( | ) |
| int TaleWorlds.MountAndBlade.Mission.GetFreeSceneMissionObjectId | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.SetCameraFrame | ( | ref MatrixFrame | cameraFrame, |
| float | zoomFactor ) |
| void TaleWorlds.MountAndBlade.Mission.SetCameraFrame | ( | ref MatrixFrame | cameraFrame, |
| float | zoomFactor, | ||
| ref Vec3 | attenuationPosition ) |
| MatrixFrame TaleWorlds.MountAndBlade.Mission.GetCameraFrame | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.ResetFirstThirdPersonView | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.SetCustomCameraLocalOffset | ( | Vec3 | newCameraOffset | ) |
| void TaleWorlds.MountAndBlade.Mission.SetCustomCameraTargetLocalOffset | ( | Vec3 | newTargetLocalOffset | ) |
| void TaleWorlds.MountAndBlade.Mission.SetCustomCameraLocalOffset2 | ( | Vec3 | newCameraOffset | ) |
| void TaleWorlds.MountAndBlade.Mission.SetCustomCameraLocalRotationalOffset | ( | Vec3 | newCameraRotationalOffset | ) |
| void TaleWorlds.MountAndBlade.Mission.SetCustomCameraGlobalOffset | ( | Vec3 | newCameraOffset | ) |
| void TaleWorlds.MountAndBlade.Mission.SetCustomCameraFovMultiplier | ( | float | newFovMultiplier | ) |
| void TaleWorlds.MountAndBlade.Mission.SetCustomCameraFixedDistance | ( | float | distance | ) |
| void TaleWorlds.MountAndBlade.Mission.SetIgnoredEntityForCamera | ( | GameEntity | ignoredEntity | ) |
| void TaleWorlds.MountAndBlade.Mission.SetCustomCameraIgnoreCollision | ( | bool | ignoreCollision | ) |
| void TaleWorlds.MountAndBlade.Mission.SetListenerAndAttenuationPosBlendFactor | ( | float | factor | ) |
| void TaleWorlds.MountAndBlade.Mission.AddTimeSpeedRequest | ( | TimeSpeedRequest | request | ) |
| void TaleWorlds.MountAndBlade.Mission.RemoveTimeSpeedRequest | ( | int | timeSpeedRequestID | ) |
| bool TaleWorlds.MountAndBlade.Mission.GetRequestedTimeSpeed | ( | int | timeSpeedRequestID, |
| out float | requestedTime ) |
| void TaleWorlds.MountAndBlade.Mission.ClearAgentActions | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.ClearMissiles | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.ClearCorpses | ( | bool | isMissionReset | ) |
| bool TaleWorlds.MountAndBlade.Mission.IsAgentInProximityMap | ( | Agent | agent | ) |
| void TaleWorlds.MountAndBlade.Mission.OnMissionStateActivate | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.OnMissionStateDeactivate | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.OnMissionStateFinalize | ( | bool | forceClearGPUResources | ) |
| forceClearGPUResources |
| void TaleWorlds.MountAndBlade.Mission.ClearUnreferencedResources | ( | bool | forceClearGPUResources | ) |
| float TaleWorlds.MountAndBlade.Mission.GetMainAgentMaxCameraZoom | ( | ) |
| WorldPosition TaleWorlds.MountAndBlade.Mission.GetBestSlopeTowardsDirection | ( | ref WorldPosition | centerPosition, |
| float | halfSize, | ||
| ref WorldPosition | referencePosition ) |
| WorldPosition TaleWorlds.MountAndBlade.Mission.GetBestSlopeAngleHeightPosForDefending | ( | WorldPosition | enemyPosition, |
| WorldPosition | defendingPosition, | ||
| int | sampleSize, | ||
| float | distanceRatioAllowedFromDefendedPos, | ||
| float | distanceSqrdAllowedFromBoundary, | ||
| float | cosinusOfBestSlope, | ||
| float | cosinusOfMaxAcceptedSlope, | ||
| float | minSlopeScore, | ||
| float | maxSlopeScore, | ||
| float | excessiveSlopePenalty, | ||
| float | nearConeCenterRatio, | ||
| float | nearConeCenterBonus, | ||
| float | heightDifferenceCeiling, | ||
| float | maxDisplacementPenalty ) |
| void TaleWorlds.MountAndBlade.Mission.SetRandomDecideTimeOfAgentsWithIndices | ( | int[] | agentIndices, |
| float? | minAIReactionTime = null, | ||
| float? | maxAIReactionTime = null ) |
| void TaleWorlds.MountAndBlade.Mission.SetBowMissileSpeedModifier | ( | float | modifier | ) |
| void TaleWorlds.MountAndBlade.Mission.SetCrossbowMissileSpeedModifier | ( | float | modifier | ) |
| void TaleWorlds.MountAndBlade.Mission.SetThrowingMissileSpeedModifier | ( | float | modifier | ) |
| void TaleWorlds.MountAndBlade.Mission.SetMissileRangeModifier | ( | float | modifier | ) |
| void TaleWorlds.MountAndBlade.Mission.SetLastMovementKeyPressed | ( | Agent.MovementControlFlag | lastMovementKeyPressed | ) |
| bool TaleWorlds.MountAndBlade.Mission.GetPathBetweenPositions | ( | ref NavigationData | navData | ) |
| void TaleWorlds.MountAndBlade.Mission.SetNavigationFaceCostWithIdAroundPosition | ( | int | navigationFaceId, |
| Vec3 | position, | ||
| float | cost ) |
| WorldPosition TaleWorlds.MountAndBlade.Mission.GetStraightPathToTarget | ( | Vec2 | targetPosition, |
| WorldPosition | startingPosition, | ||
| float | samplingDistance = 1f, | ||
| bool | stopAtObstacle = true ) |
| void TaleWorlds.MountAndBlade.Mission.SkipForwardMissionReplay | ( | float | startTime, |
| float | endTime ) |
| int TaleWorlds.MountAndBlade.Mission.GetDebugAgent | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.AddAiDebugText | ( | string | str | ) |
| void TaleWorlds.MountAndBlade.Mission.SetDebugAgent | ( | int | index | ) |
|
static |
| float TaleWorlds.MountAndBlade.Mission.GetWaterLevelAtPosition | ( | Vec2 | position, |
| bool | useWaterRenderer ) |
| float TaleWorlds.MountAndBlade.Mission.GetWaterLevelAtPositionMT | ( | Vec2 | position, |
| bool | useWaterRenderer ) |
| bool TaleWorlds.MountAndBlade.Mission.CanPhysicsCollideBetweenTwoEntities | ( | UIntPtr | entity0Ptr, |
| UIntPtr | entity1Ptr ) |
| delegate void TaleWorlds.MountAndBlade.Mission.OnBeforeAgentRemovedDelegate | ( | Agent | affectedAgent, |
| Agent | affectorAgent, | ||
| AgentState | agentState, | ||
| KillingBlow | killingBlow ) |
| delegate void TaleWorlds.MountAndBlade.Mission.OnAddSoundAlarmFactorToAgentsDelegate | ( | Agent | alarmCreatorAgent, |
| in Vec3 | soundPosition, | ||
| float | soundLevelSquareRoot ) |
| delegate void TaleWorlds.MountAndBlade.Mission.OnMainAgentChangedDelegate | ( | Agent | oldAgent | ) |
| bool TaleWorlds.MountAndBlade.Mission.GetDeploymentPlan< T > | ( | out T | deploymentPlan | ) |
| T | : | IMissionDeploymentPlan |
| float TaleWorlds.MountAndBlade.Mission.GetRemovedAgentRatioForSide | ( | BattleSideEnum | side | ) |
| ref readonly List< SiegeWeapon > TaleWorlds.MountAndBlade.Mission.GetAttackerWeaponsForFriendlyFirePreventing | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.OnDeploymentPlanMade | ( | Team | team, |
| bool | isFirstPlan ) |
| WorldPosition TaleWorlds.MountAndBlade.Mission.GetAlternatePositionForNavmeshlessOrOutOfBoundsPosition | ( | Vec2 | directionTowards, |
| WorldPosition | originalPosition, | ||
| ref float | positionPenalty ) |
| int TaleWorlds.MountAndBlade.Mission.GetNextDynamicNavMeshIdStart | ( | ) |
| FormationClass TaleWorlds.MountAndBlade.Mission.GetAgentTroopClass | ( | BattleSideEnum | battleSide, |
| BasicCharacterObject | agentCharacter ) |
Returns context (mission) dependent troop class for an agent character i.e. Mounted class can be forbidden in certain missions (such as siege missions). In such cases this should return their dismounted class correspondence.
| WorldPosition TaleWorlds.MountAndBlade.Mission.GetClosestFleePositionForAgent | ( | Agent | agent | ) |
| WorldPosition TaleWorlds.MountAndBlade.Mission.GetClosestFleePositionForFormation | ( | Formation | formation | ) |
| MBReadOnlyList< FleePosition > TaleWorlds.MountAndBlade.Mission.GetFleePositionsForSide | ( | BattleSideEnum | side | ) |
| void TaleWorlds.MountAndBlade.Mission.AddToWeaponListForFriendlyFirePreventing | ( | SiegeWeapon | weapon | ) |
| void TaleWorlds.MountAndBlade.Mission.SetCloseProximityWaveSoundsEnabled | ( | bool | value | ) |
| void TaleWorlds.MountAndBlade.Mission.ForceDisableOcclusion | ( | bool | value | ) |
| void TaleWorlds.MountAndBlade.Mission.AddFleePosition | ( | FleePosition | fleePosition | ) |
| void TaleWorlds.MountAndBlade.Mission.RetreatMission | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.SurrenderMission | ( | ) |
| bool TaleWorlds.MountAndBlade.Mission.HasMissionBehavior< T > | ( | ) |
| T | : | MissionBehavior |
| void TaleWorlds.MountAndBlade.Mission.SpawnAttachedWeaponOnCorpse | ( | Agent | agent, |
| int | attachedWeaponIndex, | ||
| int | forcedSpawnIndex ) |
| void TaleWorlds.MountAndBlade.Mission.AddMountWithoutRider | ( | Agent | mount | ) |
| void TaleWorlds.MountAndBlade.Mission.RemoveMountWithoutRider | ( | Agent | mount | ) |
| void TaleWorlds.MountAndBlade.Mission.UpdateMountReservationsAfterRiderMounts | ( | Agent | rider, |
| Agent | mount ) |
| void TaleWorlds.MountAndBlade.Mission.OnObjectDisabled | ( | DestructableComponent | destructionComponent | ) |
| MissionObjectId TaleWorlds.MountAndBlade.Mission.SpawnWeaponAsDropFromMissile | ( | int | missileIndex, |
| MissionObject | attachedMissionObject, | ||
| in MatrixFrame | attachLocalFrame, | ||
| WeaponSpawnFlags | spawnFlags, | ||
| in Vec3 | velocity, | ||
| in Vec3 | angularVelocity, | ||
| int | forcedSpawnIndex ) |
| void TaleWorlds.MountAndBlade.Mission.SpawnWeaponAsDropFromAgentAux | ( | Agent | agent, |
| EquipmentIndex | equipmentIndex, | ||
| ref Vec3 | globalVelocity, | ||
| ref Vec3 | globalAngularVelocity, | ||
| WeaponSpawnFlags | spawnFlags, | ||
| int | forcedSpawnIndex ) |
| void TaleWorlds.MountAndBlade.Mission.SpawnAttachedWeaponOnSpawnedWeapon | ( | SpawnedItemEntity | spawnedWeapon, |
| int | attachmentIndex, | ||
| int | forcedSpawnIndex ) |
| GameEntity TaleWorlds.MountAndBlade.Mission.SpawnWeaponWithNewEntity | ( | ref MissionWeapon | weapon, |
| WeaponSpawnFlags | spawnFlags, | ||
| MatrixFrame | frame ) |
| GameEntity TaleWorlds.MountAndBlade.Mission.SpawnWeaponWithNewEntityAux | ( | MissionWeapon | weapon, |
| WeaponSpawnFlags | spawnFlags, | ||
| MatrixFrame | frame, | ||
| int | forcedSpawnIndex, | ||
| MissionObject | attachedMissionObject, | ||
| bool | hasLifeTime ) |
| void TaleWorlds.MountAndBlade.Mission.AttachWeaponWithNewEntityToSpawnedWeapon | ( | MissionWeapon | weapon, |
| SpawnedItemEntity | spawnedItem, | ||
| MatrixFrame | attachLocalFrame ) |
| void TaleWorlds.MountAndBlade.Mission.OnEquipItemsFromSpawnEquipmentBegin | ( | Agent | agent, |
| Agent.CreationType | creationType ) |
| void TaleWorlds.MountAndBlade.Mission.OnEquipItemsFromSpawnEquipment | ( | Agent | agent, |
| Agent.CreationType | creationType ) |
|
static |
|
static |
| void TaleWorlds.MountAndBlade.Mission.RecalculateBody | ( | ref WeaponData | weaponData, |
| ItemComponent | itemComponent, | ||
| WeaponDesign | craftedWeaponData, | ||
| ref WeaponSpawnFlags | spawnFlags ) |
IMPORTANT: When scaling capsules, make sure that the blade/shaft is the first bodypart in the list! The order is defined by the hierarchy in 3dsMax
|
static |
| void TaleWorlds.MountAndBlade.Mission.TickAgentsAndTeamsImp | ( | float | dt, |
| bool | tickPaused ) |
|
static |
| void TaleWorlds.MountAndBlade.Mission.OnTick | ( | float | dt, |
| float | realDt, | ||
| bool | updateCamera, | ||
| bool | doAsyncAITick ) |
| dt | Time passed since the last call to OnTick. |
| void TaleWorlds.MountAndBlade.Mission.AddTickAction | ( | MissionTickAction | action, |
| Agent | agent, | ||
| int | param1, | ||
| int | param2 ) |
| void TaleWorlds.MountAndBlade.Mission.AddTickActionMT | ( | MissionTickAction | action, |
| Agent | agent, | ||
| int | param1, | ||
| int | param2 ) |
| void TaleWorlds.MountAndBlade.Mission.RemoveSpawnedItemsAndMissiles | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.AfterStart | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.OnEndMissionRequest | ( | ) |
| float TaleWorlds.MountAndBlade.Mission.GetMissionEndTimeInSeconds | ( | ) |
| float TaleWorlds.MountAndBlade.Mission.GetMissionEndTimerValue | ( | ) |
| int TaleWorlds.MountAndBlade.Mission.GetMemberCountOfSide | ( | BattleSideEnum | side | ) |
| Path TaleWorlds.MountAndBlade.Mission.GetInitialSpawnPath | ( | ) |
| SpawnPathData TaleWorlds.MountAndBlade.Mission.GetInitialSpawnPathData | ( | BattleSideEnum | battleSide | ) |
| MBReadOnlyList< SpawnPathData > TaleWorlds.MountAndBlade.Mission.GetReinforcementPathsDataOfSide | ( | BattleSideEnum | battleSide | ) |
| void TaleWorlds.MountAndBlade.Mission.GetTroopSpawnFrameWithIndex | ( | AgentBuildData | buildData, |
| int | troopSpawnIndex, | ||
| int | troopSpawnCount, | ||
| out Vec3 | troopSpawnPosition, | ||
| out Vec2 | troopSpawnDirection ) |
| buildData | Troop's build data |
| troopSpawnIndex | The index of the troop within its formation for determining spawn position |
| troopSpawnCount | The total count of troops to be spawned with this troop. This specifies maximum troop index for determining troop spawn position |
| troopSpawnPosition | Output parameter set to troop's world spawn position |
| troopSpawnDirection | Output parameter set to troop's world direction |
| void TaleWorlds.MountAndBlade.Mission.GetFormationSpawnFrame | ( | Team | team, |
| FormationClass | formationClass, | ||
| bool | isReinforcement, | ||
| out WorldPosition | spawnPosition, | ||
| out Vec2 | spawnDirection ) |
| WorldFrame TaleWorlds.MountAndBlade.Mission.GetSpawnPathFrame | ( | BattleSideEnum | battleSide, |
| float | pathOffset = 0f, | ||
| float | targetOffset = 0f ) |
| void TaleWorlds.MountAndBlade.Mission.SetBattleAgentCount | ( | int | agentCount | ) |
| Vec2 TaleWorlds.MountAndBlade.Mission.GetFormationSpawnPosition | ( | Team | team, |
| FormationClass | formationClass ) |
| FormationClass TaleWorlds.MountAndBlade.Mission.GetFormationSpawnClass | ( | Team | team, |
| FormationClass | formationClass, | ||
| bool | isReinforcement = false ) |
| Agent TaleWorlds.MountAndBlade.Mission.SpawnAgent | ( | AgentBuildData | agentBuildData, |
| bool | spawnFromAgentVisuals = false ) |
| void TaleWorlds.MountAndBlade.Mission.SetInitialAgentCountForSide | ( | BattleSideEnum | side, |
| int | agentCount ) |
| void TaleWorlds.MountAndBlade.Mission.SetFormationPositioningFromDeploymentPlan | ( | Formation | formation | ) |
| Agent TaleWorlds.MountAndBlade.Mission.SpawnMonster | ( | ItemRosterElement | rosterElement, |
| ItemRosterElement | harnessRosterElement, | ||
| in Vec3 | initialPosition, | ||
| in Vec2 | initialDirection, | ||
| int | forcedAgentIndex = -1 ) |
| Agent TaleWorlds.MountAndBlade.Mission.SpawnMonster | ( | EquipmentElement | equipmentElement, |
| EquipmentElement | harnessRosterElement, | ||
| in Vec3 | initialPosition, | ||
| in Vec2 | initialDirection, | ||
| int | forcedAgentIndex = -1 ) |
| Agent TaleWorlds.MountAndBlade.Mission.SpawnTroop | ( | IAgentOriginBase | troopOrigin, |
| bool | isPlayerSide, | ||
| bool | hasFormation, | ||
| bool | spawnWithHorse, | ||
| bool | isReinforcement, | ||
| int | formationTroopCount, | ||
| int | formationTroopIndex, | ||
| bool | isAlarmed, | ||
| bool | wieldInitialWeapons, | ||
| bool | forceDismounted, | ||
| Vec3? | initialPosition, | ||
| Vec2? | initialDirection, | ||
| string | specialActionSetSuffix = null, | ||
| ItemObject | bannerItem = null, | ||
| FormationClass | formationIndex = FormationClass::Unset, | ||
| bool | useTroopClassForSpawn = false ) |
| Agent TaleWorlds.MountAndBlade.Mission.ReplaceBotWithPlayer | ( | Agent | botAgent, |
| MissionPeer | missionPeer ) |
| void TaleWorlds.MountAndBlade.Mission.OnAgentInteraction | ( | Agent | requesterAgent, |
| Agent | targetAgent, | ||
| sbyte | agentBoneIndex ) |
| void TaleWorlds.MountAndBlade.Mission.EndMission | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.AddMissionBehavior | ( | MissionBehavior | missionBehavior | ) |
| T TaleWorlds.MountAndBlade.Mission.GetMissionBehavior< T > | ( | ) |
| T | : | class | |
| T | : | IMissionBehavior |
| void TaleWorlds.MountAndBlade.Mission.RemoveMissionBehavior | ( | MissionBehavior | missionBehavior | ) |
| void TaleWorlds.MountAndBlade.Mission.JoinEnemyTeam | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.OnEndMissionResult | ( | ) |
| bool TaleWorlds.MountAndBlade.Mission.IsAgentInteractionAllowed | ( | ) |
| bool TaleWorlds.MountAndBlade.Mission.IsOrderGesturesEnabled | ( | ) |
| List< EquipmentElement > TaleWorlds.MountAndBlade.Mission.GetExtraEquipmentElementsForCharacter | ( | BasicCharacterObject | character, |
| bool | getAllEquipments = false ) |
| bool TaleWorlds.MountAndBlade.Mission.IsPlayerCloseToAnEnemy | ( | float | distance = 5 | ) |
| Vec3 TaleWorlds.MountAndBlade.Mission.GetRandomPositionAroundPoint | ( | Vec3 | center, |
| float | minDistance, | ||
| float | maxDistance, | ||
| bool | nearFirst = false ) |
| WorldPosition TaleWorlds.MountAndBlade.Mission.FindBestDefendingPosition | ( | WorldPosition | enemyPosition, |
| WorldPosition | defendedPosition ) |
| WorldPosition TaleWorlds.MountAndBlade.Mission.FindPositionWithBiggestSlopeTowardsDirectionInSquare | ( | ref WorldPosition | center, |
| float | halfSize, | ||
| ref WorldPosition | referencePosition ) |
| Missile TaleWorlds.MountAndBlade.Mission.AddCustomMissile | ( | Agent | shooterAgent, |
| MissionWeapon | missileWeapon, | ||
| Vec3 | position, | ||
| Vec3 | direction, | ||
| Mat3 | orientation, | ||
| float | baseSpeed, | ||
| float | speed, | ||
| bool | addRigidBody, | ||
| MissionObject | missionObjectToIgnore, | ||
| int | forcedMissileIndex = -1 ) |
| void TaleWorlds.MountAndBlade.Mission.OnAgentMount | ( | Agent | agent | ) |
| void TaleWorlds.MountAndBlade.Mission.OnAgentDismount | ( | Agent | agent | ) |
| void TaleWorlds.MountAndBlade.Mission.OnObjectUsed | ( | Agent | userAgent, |
| UsableMissionObject | usableGameObject ) |
| void TaleWorlds.MountAndBlade.Mission.OnObjectStoppedBeingUsed | ( | Agent | userAgent, |
| UsableMissionObject | usableGameObject ) |
| void TaleWorlds.MountAndBlade.Mission.InitializeStartingBehaviors | ( | MissionLogic[] | logicBehaviors, |
| MissionBehavior[] | otherBehaviors, | ||
| MissionNetwork[] | networkBehaviors ) |
| Agent TaleWorlds.MountAndBlade.Mission.GetClosestEnemyAgent | ( | Team | team, |
| Vec3 | position, | ||
| float | radius ) |
| Agent TaleWorlds.MountAndBlade.Mission.GetClosestAllyAgent | ( | Team | team, |
| Vec3 | position, | ||
| float | radius ) |
| int TaleWorlds.MountAndBlade.Mission.GetNearbyEnemyAgentCount | ( | Team | team, |
| Vec2 | position, | ||
| float | radius ) |
| bool TaleWorlds.MountAndBlade.Mission.HasAnyAgentsOfSideInRange | ( | Vec3 | origin, |
| float | radius, | ||
| BattleSideEnum | side ) |
| void TaleWorlds.MountAndBlade.Mission.AddSoundAlarmFactorToAgents | ( | Agent | alarmCreatorAgent, |
| in Vec3 | soundPosition, | ||
| float | soundLevelSquareRoot ) |
| bool TaleWorlds.MountAndBlade.Mission.OnMissionObjectRemoved | ( | MissionObject | missionObject, |
| int | removeReason ) |
| Agent TaleWorlds.MountAndBlade.Mission.FindAgentWithIndex | ( | int | agentId | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| void TaleWorlds.MountAndBlade.Mission.OnRenderingStarted | ( | ) |
|
static |
| Agent.MovementBehaviorType TaleWorlds.MountAndBlade.Mission.GetMovementTypeOfAgents | ( | IEnumerable< Agent > | agents | ) |
| void TaleWorlds.MountAndBlade.Mission.ShowInMissionLoadingScreen | ( | int | durationInSecond, |
| Action | onLoadingEndedAction ) |
| bool TaleWorlds.MountAndBlade.Mission.CanAgentRout | ( | Agent | agent | ) |
| void TaleWorlds.MountAndBlade.Mission.HandleMissileCollisionReaction | ( | int | missileIndex, |
| MissileCollisionReaction | collisionReaction, | ||
| MatrixFrame | attachLocalFrame, | ||
| bool | isAttachedFrameLocal, | ||
| Agent | attackerAgent, | ||
| Agent | attachedAgent, | ||
| bool | attachedToShield, | ||
| sbyte | attachedBoneIndex, | ||
| MissionObject | attachedMissionObject, | ||
| Vec3 | bounceBackVelocity, | ||
| Vec3 | bounceBackAngularVelocity, | ||
| int | forcedSpawnIndex ) |
| void TaleWorlds.MountAndBlade.Mission.KillAgentsOnEntity | ( | GameEntity | entity, |
| Agent | destroyerAgent, | ||
| bool | burnAgents ) |
| void TaleWorlds.MountAndBlade.Mission.KillAgentCheat | ( | Agent | agent | ) |
| bool TaleWorlds.MountAndBlade.Mission.KillCheats | ( | bool | killAll, |
| bool | killEnemy, | ||
| bool | killHorse, | ||
| bool | killYourself ) |
| bool TaleWorlds.MountAndBlade.Mission.CanTakeControlOfAgent | ( | Agent | agentToTakeControlOf | ) |
| void TaleWorlds.MountAndBlade.Mission.SetPlayerCanTakeControlOfAnotherAgentWhenDead | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.TakeControlOfAgent | ( | Agent | agentToTakeControlOf | ) |
| float TaleWorlds.MountAndBlade.Mission.GetDamageMultiplierOfCombatDifficulty | ( | Agent | victimAgent, |
| Agent | attackerAgent = null ) |
| float TaleWorlds.MountAndBlade.Mission.GetShootDifficulty | ( | Agent | affectedAgent, |
| Agent | affectorAgent, | ||
| bool | isHeadShot ) |
| void TaleWorlds.MountAndBlade.Mission.AddCombatLogSafe | ( | Agent | attackerAgent, |
| Agent | victimAgent, | ||
| CombatLogData | combatLog ) |
| attackerAgent | |
| victimAgent | |
| combatLog |
| MissionObject TaleWorlds.MountAndBlade.Mission.CreateMissionObjectFromPrefab | ( | string | prefab, |
| MatrixFrame | frame, | ||
| Action< GameEntity > | actionAppliedBeforeScriptInitialization ) |
| int TaleWorlds.MountAndBlade.Mission.GetNearbyAllyAgentsCount | ( | Vec2 | center, |
| float | radius, | ||
| Team | team ) |
| MBList< Agent > TaleWorlds.MountAndBlade.Mission.GetNearbyAllyAgents | ( | Vec2 | center, |
| float | radius, | ||
| Team | team, | ||
| MBList< Agent > | agents ) |
| MBList< Agent > TaleWorlds.MountAndBlade.Mission.GetNearbyEnemyAgents | ( | Vec2 | center, |
| float | radius, | ||
| Team | team, | ||
| MBList< Agent > | agents ) |
| MBList< Agent > TaleWorlds.MountAndBlade.Mission.GetNearbyAgents | ( | Vec2 | center, |
| float | radius, | ||
| MBList< Agent > | agents ) |
| bool TaleWorlds.MountAndBlade.Mission.IsFormationUnitPositionAvailableMT | ( | ref WorldPosition | formationPosition, |
| ref WorldPosition | unitPosition, | ||
| ref WorldPosition | nearestAvailableUnitPosition, | ||
| float | manhattanDistance, | ||
| Team | team ) |
| bool TaleWorlds.MountAndBlade.Mission.IsOrderPositionAvailable | ( | in WorldPosition | orderPosition, |
| Team | team ) |
| bool TaleWorlds.MountAndBlade.Mission.IsFormationUnitPositionAvailable | ( | ref WorldPosition | unitPosition, |
| Team | team ) |
| bool TaleWorlds.MountAndBlade.Mission.HasSceneMapPatch | ( | ) |
| bool TaleWorlds.MountAndBlade.Mission.GetPatchSceneEncounterPosition | ( | out Vec3 | position | ) |
| bool TaleWorlds.MountAndBlade.Mission.GetPatchSceneEncounterDirection | ( | out Vec2 | direction | ) |
| void TaleWorlds.MountAndBlade.Mission.AddTimerToDynamicEntity | ( | GameEntity | gameEntity, |
| float | timeToKill = 10::0f ) |
| void TaleWorlds.MountAndBlade.Mission.AddListener | ( | IMissionListener | listener | ) |
| void TaleWorlds.MountAndBlade.Mission.RemoveListener | ( | IMissionListener | listener | ) |
| void TaleWorlds.MountAndBlade.Mission.OnAgentFleeing | ( | Agent | agent | ) |
| void TaleWorlds.MountAndBlade.Mission.OnAgentPanicked | ( | Agent | agent | ) |
| void TaleWorlds.MountAndBlade.Mission.OnTeamDeployed | ( | Team | team | ) |
| void TaleWorlds.MountAndBlade.Mission.OnBattleSideDeployed | ( | BattleSideEnum | side | ) |
| side |
| void TaleWorlds.MountAndBlade.Mission.OnDeploymentFinished | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.OnAfterDeploymentFinished | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.OnFormationCaptainChanged | ( | Formation | formation | ) |
| void TaleWorlds.MountAndBlade.Mission.SetFastForwardingFromUI | ( | bool | fastForwarding | ) |
| bool TaleWorlds.MountAndBlade.Mission.CheckIfBattleInRetreat | ( | ) |
| void TaleWorlds.MountAndBlade.Mission.AddSpawnedItemEntityCreatedAtRuntime | ( | SpawnedItemEntity | spawnedItemEntity | ) |
| void TaleWorlds.MountAndBlade.Mission.TriggerOnItemPickUpEvent | ( | Agent | agent, |
| SpawnedItemEntity | spawnedItemEntity ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| bool TaleWorlds.MountAndBlade.Mission.DisableDying = false |
| bool TaleWorlds.MountAndBlade.Mission.ForceNoFriendlyFire = false |
|
static |
| bool TaleWorlds.MountAndBlade.Mission.IsFriendlyMission = true |
| BasicCultureObject TaleWorlds.MountAndBlade.Mission.MusicCulture |
| bool TaleWorlds.MountAndBlade.Mission.IsOrderMenuOpen |
| bool TaleWorlds.MountAndBlade.Mission.IsTransferMenuOpen |
| bool TaleWorlds.MountAndBlade.Mission.IsInPhotoMode |
| bool TaleWorlds.MountAndBlade.Mission.AllowAiTicking = true |
| IAgentVisualCreator TaleWorlds.MountAndBlade.Mission.AgentVisualCreator |
| float TaleWorlds.MountAndBlade.Mission.MissionCloseTimeAfterFinish = 30.0f |
| float TaleWorlds.MountAndBlade.Mission.NextCheckTimeEndMission = 10.0f |
| int TaleWorlds.MountAndBlade.Mission.NumOfFormationsSpawnedTeamOne |
| int TaleWorlds.MountAndBlade.Mission.NumOfFormationsSpawnedTeamTwo |
|
get |
|
staticget |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
get |
|
get |
|
getset |
|
get |
|
getset |
|
staticgetset |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
getset |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
getset |
Implements TaleWorlds.Core.IMission.
|
get |
|
get |
|
getset |
|
get |
|
get |
|
get |
|
getset |
|
get |
|
getset |
|
get |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
set |
|
get |
|
get |
|
set |
|
get |
|
set |
|
get |
|
set |
|
get |
|
set |
|
get |
|
set |
|
get |
|
set |
|
get |
|
set |
|
get |
|
getset |
|
getset |
|
get |
|
get |
|
get |
| System.ComponentModel.PropertyChangedEventHandler TaleWorlds.MountAndBlade.Mission.OnMissionReset |
| OnBeforeAgentRemovedDelegate TaleWorlds.MountAndBlade.Mission.OnBeforeAgentRemoved |
| Func<WorldPosition , Team , bool > TaleWorlds.MountAndBlade.Mission.IsFormationUnitPositionAvailable_AdditionalCondition |
| Func<Agent, bool > TaleWorlds.MountAndBlade.Mission.CanAgentRout_AdditionalCondition |
| OnAddSoundAlarmFactorToAgentsDelegate TaleWorlds.MountAndBlade.Mission.OnAddSoundAlarmFactorToAgents |
| Func<bool> TaleWorlds.MountAndBlade.Mission.IsAgentInteractionAllowed_AdditionalCondition |
| OnMainAgentChangedDelegate TaleWorlds.MountAndBlade.Mission.OnMainAgentChanged |
| Func<BattleSideEnum, BasicCharacterObject, FormationClass> TaleWorlds.MountAndBlade.Mission.GetAgentTroopClass_Override |
| Action<Agent, SpawnedItemEntity> TaleWorlds.MountAndBlade.Mission.OnItemPickUp |
| Action<Agent, SpawnedItemEntity> TaleWorlds.MountAndBlade.Mission.OnItemDrop |
| Func<Agent, WorldPosition?> TaleWorlds.MountAndBlade.Mission.GetOverriddenFleePositionForAgent |
| Func<bool> TaleWorlds.MountAndBlade.Mission.AreOrderGesturesEnabled_AdditionalCondition |
| Func<bool> TaleWorlds.MountAndBlade.Mission.IsBattleInRetreatEvent |
| Action<int> TaleWorlds.MountAndBlade.Mission.OnMissileRemovedEvent |