M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
|
Inherits TaleWorlds.MountAndBlade.UsableMachine, TaleWorlds.MountAndBlade.IPointDefendable, TaleWorlds.MountAndBlade.ICastleKeyPosition, and TaleWorlds.MountAndBlade.ITargetable.
Public Types | |
enum | DoorOwnership |
enum | GateState |
Public Types inherited from TaleWorlds.MountAndBlade.SynchedMissionObject | |
enum | SynchFlags : uint |
Public Types inherited from TaleWorlds.Engine.ScriptComponentBehavior | |
enum | TickRequirement : uint |
Public Member Functions | |
CastleGate () | |
Vec3 | GetPosition () |
override OrderType | GetOrder (BattleSideEnum side) |
void | SetUsableTeam (Team team) |
override void | AfterMissionStart () |
override string | GetDescriptionText (GameEntity gameEntity=null) |
override TextObject | GetActionTextForStandingPoint (UsableMissionObject usableGameObject) |
override UsableMachineAIBase | CreateAIBehaviorObject () |
void | OpenDoorAndDisableGateForCivilianMission () |
void | OpenDoor () |
void | CloseDoor () |
void | SetAutoOpenState (bool isEnabled) |
override TickRequirement | GetTickRequirement () |
TargetFlags | GetTargetFlags () |
float | GetTargetValue (List< Vec3 > weaponPos) |
GameEntity | GetTargetEntity () |
BattleSideEnum | GetSide () |
GameEntity | Entity () |
Public Member Functions inherited from TaleWorlds.MountAndBlade.UsableMachine | |
void | AddComponent (UsableMissionObjectComponent component) |
void | RemoveComponent (UsableMissionObjectComponent component) |
T | GetComponent< T > () |
virtual OrderType | GetOrder (BattleSideEnum side) |
virtual UsableMachineAIBase | CreateAIBehaviorObject () |
GameEntity | GetValidStandingPointForAgent (Agent agent) |
GameEntity | GetValidStandingPointForAgentWithoutDistanceCheck (Agent agent) |
StandingPoint | GetVacantStandingPointForAI (Agent agent) |
StandingPoint | GetTargetStandingPointOfAIAgent (Agent agent) |
override void | SetVisibleSynched (bool value, bool forceChildrenVisible=false) |
The user agent who controls this object More... | |
override void | SetPhysicsStateSynched (bool value, bool setChildren=true) |
override TickRequirement | GetTickRequirement () |
virtual void | OnFocusGain (Agent userAgent) |
virtual void | OnFocusLose (Agent userAgent) |
virtual TextObject | GetInfoTextForBeingNotInteractable (Agent userAgent) |
void | Deactivate () |
void | Activate () |
virtual bool | IsDisabledForBattleSide (BattleSideEnum sideEnum) |
virtual bool | IsDisabledForBattleSideAI (BattleSideEnum sideEnum) |
virtual void | Disable () |
override bool | ReadFromNetwork () |
override void | WriteToNetwork () |
override string | ToString () |
abstract TextObject | GetActionTextForStandingPoint (UsableMissionObject usableGameObject) |
virtual StandingPoint | GetBestPointAlternativeTo (StandingPoint standingPoint, Agent agent) |
virtual bool | IsInRangeToCheckAlternativePoints (Agent agent) |
void | AddAgentAtSlotIndex (Agent agent, int slotIndex) |
bool | IsStandingPointAvailableForAgent (Agent agent) |
bool | IsUsedByFormation (Formation formation) |
abstract string | GetDescriptionText (GameEntity gameEntity=null) |
Public Member Functions inherited from TaleWorlds.MountAndBlade.SynchedMissionObject | |
override TickRequirement | GetTickRequirement () |
void | SetLocalPositionSmoothStep (ref Vec3 targetPosition) |
virtual void | SetVisibleSynched (bool value, bool forceChildrenVisible=false) |
virtual void | SetPhysicsStateSynched (bool value, bool setChildren=true) |
virtual void | SetDisabledSynched () |
void | SetFrameSynched (ref MatrixFrame frame, bool isClient=false) |
void | SetGlobalFrameSynched (ref MatrixFrame frame, bool isClient=false) |
void | SetFrameSynchedOverTime (ref MatrixFrame frame, float duration, bool isClient=false) |
void | SetGlobalFrameSynchedOverTime (ref MatrixFrame frame, float duration, bool isClient=false) |
void | SetAnimationAtChannelSynched (string animationName, int channelNo, float animationSpeed=1.0f) |
void | SetAnimationAtChannelSynched (int animationIndex, int channelNo, float animationSpeed=1.0f) |
void | SetAnimationChannelParameterSynched (int channelNo, float parameter) |
void | PauseSkeletonAnimationSynched () |
void | ResumeSkeletonAnimationSynched () |
void | BurstParticlesSynched (bool doChildren=true) |
void | ApplyImpulseSynched (Vec3 localPosition, Vec3 impulse) |
void | AddBodyFlagsSynched (BodyFlags flags, bool applyToChildren=true) |
void | RemoveBodyFlagsSynched (BodyFlags flags, bool applyToChildren=true) |
void | SetTeamColors (uint color, uint color2) |
virtual void | SetTeamColorsSynched (uint color, uint color2) |
virtual bool | ReadFromNetwork () |
virtual void | WriteToNetwork () |
Public Member Functions inherited from TaleWorlds.MountAndBlade.MissionObject | |
MissionObject () | |
virtual void | SetAbilityOfFaces (bool enabled) |
override int | GetHashCode () |
virtual void | AfterMissionStart () |
void | SetDisabled (bool isParentObject=false) |
Only disables the mission object script and removes it from active mission objects list but the object entity remains visible with active physics More... | |
void | SetDisabledAndMakeInvisible (bool isParentObject=false) |
Mission object is disabled and removed from active mission objects list, its entity is made invisible and therefore its physics is turned off More... | |
virtual void | OnEndMission () |
virtual void | AddStuckMissile (GameEntity missileEntity) |
Public Member Functions inherited from TaleWorlds.Engine.ScriptComponentBehavior | |
void | SetScriptComponentToTick (TickRequirement value) |
void | SetScriptComponentToTickMT (TickRequirement value) |
virtual TickRequirement | GetTickRequirement () |
void | OnFocusGain (Agent userAgent) |
void | OnFocusLose (Agent userAgent) |
TextObject | GetInfoTextForBeingNotInteractable (Agent userAgent) |
string | GetDescriptionText (GameEntity gameEntity=null) |
OrderType | GetOrder (BattleSideEnum side) |
bool | IsAgentUsingOrMovingTo (Agent agent) |
float? | GetWeightOfNextSlot (BattleSideEnum side) |
Null if there is no vacancy left. Otherwise it is a positive number. More... | |
float | GetDetachmentWeight (BattleSideEnum side) |
float | ComputeAndCacheDetachmentWeight (BattleSideEnum side) |
float | GetDetachmentWeightFromCache () |
List< ValueTuple< int, float > > | GetSlotIndexWeightTuples () |
bool | IsSlotAtIndexAvailableForAgent (int slotIndex, Agent agent) |
bool | IsAgentEligible (Agent agent) |
void | AddAgentAtSlotIndex (Agent agent, int slotIndex) |
Agent | GetMovingAgentAtSlotIndex (int slotIndex) |
void | MarkSlotAtIndex (int slotIndex) |
bool | IsDetachmentRecentlyEvaluated () |
void | UnmarkDetachment () |
float? | GetWeightOfAgentAtNextSlot (IEnumerable< Agent > candidates, out Agent match) |
float? | GetWeightOfAgentAtNextSlot (IEnumerable< AgentValuePair< float > > agentTemplateScores, out Agent match) |
float | GetTemplateWeightOfAgent (Agent candidate) |
float[] | GetTemplateCostsOfAgent (Agent candidate, float[] oldValue) |
float | GetExactCostOfAgentAtSlot (Agent candidate, int slotIndex) |
float | GetWeightOfOccupiedSlot (Agent detachedAgent) |
float? | GetWeightOfAgentAtOccupiedSlot (Agent detachedAgent, IEnumerable< Agent > candidates, out Agent match) |
bool | IsStandingPointAvailableForAgent (Agent agent) |
void | AddAgent (Agent agent, int slotIndex=-1) |
void | RemoveAgent (Agent detachedAgent) |
void | FormationStartUsing (Formation formation) |
void | FormationStopUsing (Formation formation) |
bool | IsUsedByFormation (Formation formation) |
WorldFrame? | GetAgentFrame (Agent detachedAgent) |
Returns null for siege weapons and other detachments that sets scripted frame for the agent. Returns a frame otherwise. More... | |
void | ResetEvaluation () |
bool | IsEvaluated () |
void | SetAsEvaluated () |
void | OnFormationLeave (Formation formation) |
Vec3 | GetPosition () |
TargetFlags | GetTargetFlags () |
float | GetTargetValue (List< Vec3 > referencePositions) |
GameEntity | GetTargetEntity () |
BattleSideEnum | GetSide () |
GameEntity | Entity () |
Public Attributes | |
DoorOwnership | OwningTeam |
string | OpeningAnimationName = "castle_gate_a_opening" |
string | ClosingAnimationName = "castle_gate_a_closing" |
string | HitAnimationName = "castle_gate_a_hit" |
string | PlankHitAnimationName = "castle_gate_a_plank_hit" |
string | HitMeleeAnimationName = "castle_gate_a_hit_melee" |
string | DestroyAnimationName = "castle_gate_a_break" |
int | NavigationMeshId = 1000 |
int | NavigationMeshIdToDisableOnOpen = -1 |
string | LeftDoorBoneName = "bn_bottom_l" |
string | RightDoorBoneName = "bn_bottom_r" |
string | ExtraCollisionObjectTagRight = "extra_collider_r" |
string | ExtraCollisionObjectTagLeft = "extra_collider_l" |
bool | ActivateExtraColliders = true |
string | SideTag |
bool | AutoOpen = false |
Public Attributes inherited from TaleWorlds.MountAndBlade.UsableMachine | |
string | PilotStandingPointTag = "Pilot" |
string | AmmoPickUpTag = "ammopickup" |
string | WaitStandingPointTag = "Wait" |
Static Public Attributes | |
const string | OuterGateTag = "outer_gate" |
const string | InnerGateTag = "inner_gate" |
Static Public Attributes inherited from TaleWorlds.MountAndBlade.UsableMachine | |
const string | UsableMachineParentTag = "machine_parent" |
Protected Member Functions | |
override void | OnRemoved (int removeReason) |
override bool | IsAgentOnInconvenientNavmesh (Agent agent, StandingPoint standingPoint) |
void | CollectGameEntities (bool calledFromOnInit) |
void | OnNextDestructionState () |
void | CollectDynamicGameEntities (bool calledFromOnInit) |
Protected Member Functions inherited from TaleWorlds.MountAndBlade.UsableMachine | |
UsableMachine () | |
virtual void | DebugTick (float dt) |
override void | OnRemoved (int removeReason) |
virtual float | GetWeightOfStandingPoint (StandingPoint sp) |
virtual float | GetDetachmentWeightAux (BattleSideEnum side) |
virtual bool | IsAgentOnInconvenientNavmesh (Agent agent, StandingPoint standingPoint) |
virtual StandingPoint | GetSuitableStandingPointFor (BattleSideEnum side, Agent agent=null, IEnumerable< Agent > agents=null, IEnumerable< AgentValuePair< float > > agentValuePairs=null) |
Protected Member Functions inherited from TaleWorlds.MountAndBlade.MissionObject | |
virtual void | AttachDynamicNavmeshToEntity () |
virtual GameEntity | GetEntityToAttachNavMeshFaces () |
override void | OnRemoved (int removeReason) |
Protected Member Functions inherited from TaleWorlds.Engine.ScriptComponentBehavior | |
void | InvalidateWeakPointersIfValid () |
ScriptComponentBehavior () | |
virtual void | OnRemoved (int removeReason) |
Additional Inherited Members | |
Protected Attributes inherited from TaleWorlds.MountAndBlade.UsableMachine | |
GameEntity | ActiveWaitStandingPoint |
bool | _areUsableStandingPointsVacant = true |
List< ValueTuple< int, StandingPoint > > | _usableStandingPoints |
bool | _isDetachmentRecentlyEvaluated = false |
float | EnemyRangeToStopUsing = 0.0f |
bool | MakeVisibilityCheck = true |
bool | _isDisabledForAI = false |
List< Formation > | _userFormations |
Protected Attributes inherited from TaleWorlds.MountAndBlade.MissionObject | |
string | NavMeshPrefabName = "" |
int | DynamicNavmeshIdStart = 0 |
Static Protected Attributes inherited from TaleWorlds.MountAndBlade.MissionObject | |
const int | InsideNavMeshIdLocal = 1 |
const int | EnterNavMeshIdLocal = 2 |
const int | ExitNavMeshIdLocal = 3 |
const int | BlockerNavMeshIdLocal = 4 |
const int | ExtraNavMesh1IdLocal = 5 |
const int | ExtraNavMesh2IdLocal = 6 |
const int | ExtraNavMesh3IdLocal = 7 |
TaleWorlds.MountAndBlade.CastleGate.CastleGate | ( | ) |
Vec3 TaleWorlds.MountAndBlade.CastleGate.GetPosition | ( | ) |
Implements TaleWorlds.MountAndBlade.ICastleKeyPosition.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.UsableMachine.
void TaleWorlds.MountAndBlade.CastleGate.SetUsableTeam | ( | Team | team | ) |
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.MissionObject.
|
protectedvirtual |
Reimplemented from TaleWorlds.MountAndBlade.MissionObject.
|
virtual |
Implements TaleWorlds.MountAndBlade.UsableMachine.
|
virtual |
Implements TaleWorlds.MountAndBlade.UsableMachine.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.UsableMachine.
void TaleWorlds.MountAndBlade.CastleGate.OpenDoorAndDisableGateForCivilianMission | ( | ) |
void TaleWorlds.MountAndBlade.CastleGate.OpenDoor | ( | ) |
void TaleWorlds.MountAndBlade.CastleGate.CloseDoor | ( | ) |
void TaleWorlds.MountAndBlade.CastleGate.SetAutoOpenState | ( | bool | isEnabled | ) |
|
virtual |
Reimplemented from TaleWorlds.Engine.ScriptComponentBehavior.
|
protectedvirtual |
Reimplemented from TaleWorlds.MountAndBlade.UsableMachine.
TargetFlags TaleWorlds.MountAndBlade.CastleGate.GetTargetFlags | ( | ) |
Implements TaleWorlds.MountAndBlade.ITargetable.
float TaleWorlds.MountAndBlade.CastleGate.GetTargetValue | ( | List< Vec3 > | weaponPos | ) |
Implements TaleWorlds.MountAndBlade.ITargetable.
GameEntity TaleWorlds.MountAndBlade.CastleGate.GetTargetEntity | ( | ) |
Implements TaleWorlds.MountAndBlade.ITargetable.
BattleSideEnum TaleWorlds.MountAndBlade.CastleGate.GetSide | ( | ) |
Implements TaleWorlds.MountAndBlade.ITargetable.
GameEntity TaleWorlds.MountAndBlade.CastleGate.Entity | ( | ) |
Implements TaleWorlds.MountAndBlade.ITargetable.
|
protected |
|
protected |
|
protected |
|
static |
|
static |
DoorOwnership TaleWorlds.MountAndBlade.CastleGate.OwningTeam |
string TaleWorlds.MountAndBlade.CastleGate.OpeningAnimationName = "castle_gate_a_opening" |
string TaleWorlds.MountAndBlade.CastleGate.ClosingAnimationName = "castle_gate_a_closing" |
string TaleWorlds.MountAndBlade.CastleGate.HitAnimationName = "castle_gate_a_hit" |
string TaleWorlds.MountAndBlade.CastleGate.PlankHitAnimationName = "castle_gate_a_plank_hit" |
string TaleWorlds.MountAndBlade.CastleGate.HitMeleeAnimationName = "castle_gate_a_hit_melee" |
string TaleWorlds.MountAndBlade.CastleGate.DestroyAnimationName = "castle_gate_a_break" |
int TaleWorlds.MountAndBlade.CastleGate.NavigationMeshId = 1000 |
int TaleWorlds.MountAndBlade.CastleGate.NavigationMeshIdToDisableOnOpen = -1 |
string TaleWorlds.MountAndBlade.CastleGate.LeftDoorBoneName = "bn_bottom_l" |
string TaleWorlds.MountAndBlade.CastleGate.RightDoorBoneName = "bn_bottom_r" |
string TaleWorlds.MountAndBlade.CastleGate.ExtraCollisionObjectTagRight = "extra_collider_r" |
string TaleWorlds.MountAndBlade.CastleGate.ExtraCollisionObjectTagLeft = "extra_collider_l" |
bool TaleWorlds.MountAndBlade.CastleGate.ActivateExtraColliders = true |
string TaleWorlds.MountAndBlade.CastleGate.SideTag |
bool TaleWorlds.MountAndBlade.CastleGate.AutoOpen = false |
|
get |
Implements TaleWorlds.MountAndBlade.ICastleKeyPosition.
|
get |
Implements TaleWorlds.MountAndBlade.ICastleKeyPosition.
|
get |
Implements TaleWorlds.MountAndBlade.IFocusable.
|
get |
|
get |
|
getset |
Implements TaleWorlds.MountAndBlade.ICastleKeyPosition.
|
getprotected set |
Implements TaleWorlds.MountAndBlade.IPointDefendable.
|
get |
Implements TaleWorlds.MountAndBlade.IPointDefendable.
|
get |
Implements TaleWorlds.MountAndBlade.IPointDefendable.
|
get |
Implements TaleWorlds.MountAndBlade.IPointDefendable.