M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.StandingPoint Class Reference

Inherits TaleWorlds.MountAndBlade.UsableMissionObject.

Inherited by SandBox.Objects.AnimationPoints.AnimationPoint, SandBox.Objects.PassageUsePoint, TaleWorlds.MountAndBlade.StandingPointForRangedArea, TaleWorlds.MountAndBlade.StandingPointWithAgentLimit, TaleWorlds.MountAndBlade.StandingPointWithTeamLimit, and TaleWorlds.MountAndBlade.StandingPointWithWeaponRequirement.

Public Member Functions

 StandingPoint ()
 
void OnParentMachinePhysicsStateChanged ()
 
override bool IsDisabledForAgent (Agent agent)
 
override TickRequirement GetTickRequirement ()
 
override void OnUse (Agent userAgent)
 
override void OnUseStopped (Agent userAgent, bool isSuccessful, int preferenceIndex)
 
override WorldFrame GetUserFrameForAgent (Agent agent)
 
virtual bool HasAlternative ()
 
virtual float GetUsageScoreForAgent (Agent agent)
 
virtual float GetUsageScoreForAgent (AgentValuePair< float > agentPair)
 
void SetupOnUsingStoppedBehavior (bool autoAttach, Action< Agent, bool > action)
 
override void OnEndMission ()
 
override string GetDescriptionText (GameEntity gameEntity=null)
 
- Public Member Functions inherited from TaleWorlds.MountAndBlade.UsableMissionObject
virtual void OnUserConversationStart ()
 
virtual void OnUserConversationEnd ()
 
void SetIsDeactivatedSynched (bool value)
 
void SetIsDisabledForPlayersSynched (bool value)
 
virtual bool IsDisabledForAgent (Agent agent)
 
void AddComponent (UsableMissionObjectComponent component)
 
void RemoveComponent (UsableMissionObjectComponent component)
 
GetComponent< T > ()
 
void RefreshGameEntityWithWorldPosition ()
 
virtual void OnFocusGain (Agent userAgent)
 
virtual void OnFocusLose (Agent userAgent)
 
virtual TextObject GetInfoTextForBeingNotInteractable (Agent userAgent)
 
virtual void SetUserForClient (Agent userAgent)
 
virtual void OnUse (Agent userAgent)
 
virtual void OnAIMoveToUse (Agent userAgent, IDetachment detachment)
 
virtual void OnUseStopped (Agent userAgent, bool isSuccessful, int preferenceIndex)
 
virtual void OnMoveToStopped (Agent movingAgent)
 
virtual int GetMovingAgentCount ()
 
virtual Agent GetMovingAgentWithIndex (int index)
 
virtual void RemoveMovingAgent (Agent movingAgent)
 
virtual void AddMovingAgent (Agent movingAgent)
 
virtual void SimulateTick (float dt)
 
override TickRequirement GetTickRequirement ()
 
virtual WorldFrame GetUserFrameForAgent (Agent agent)
 
override string ToString ()
 
virtual bool IsAIMovingTo (Agent agent)
 
virtual bool HasUserPositionsChanged (Agent agent)
 
override void WriteToNetwork ()
 Sends object's data to synchronize it to clients. More...
 
override bool ReadFromNetwork ()
 Receives object's data to synchronize it from the server. More...
 
virtual bool IsUsableByAgent (Agent userAgent)
 
override void OnEndMission ()
 
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)
 
void OnUse (Agent userAgent)
 
void OnUseStopped (Agent userAgent, bool isSuccessful, int preferenceIndex)
 

Public Attributes

bool AutoSheathWeapons
 
bool AutoEquipWeaponsOnUseStopped
 
bool AutoWieldWeapons
 
readonly bool TranslateUser
 
bool HasRecentlyBeenRechecked = false
 
- Public Attributes inherited from TaleWorlds.MountAndBlade.UsableMissionObject
TextObject DescriptionMessage = TextObject.Empty
 
TextObject ActionMessage = TextObject.Empty
 

Protected Member Functions

virtual bool DoesActionTypeStopUsingGameObject (Agent.ActionCodeType actionType)
 
- Protected Member Functions inherited from TaleWorlds.MountAndBlade.UsableMissionObject
 UsableMissionObject (bool isInstantUse=false)
 
virtual void CollectChildEntity (GameEntity childEntity)
 
virtual bool VerifyChildEntities (ref string errorMessage)
 
override void OnRemoved (int removeReason)
 
- 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)
 

Protected Attributes

BattleSideEnum StandingPointSide = BattleSideEnum.None
 
- Protected Attributes inherited from TaleWorlds.MountAndBlade.MissionObject
string NavMeshPrefabName = ""
 
int DynamicNavmeshIdStart = 0
 

Properties

virtual Agent.AIScriptedFrameFlags DisableScriptedFrameFlags [get]
 
override bool DisableCombatActionsOnUse [get]
 
Agent FavoredUser [get, set]
 
virtual bool PlayerStopsUsingWhenInteractsWithOther [get]
 
- Properties inherited from TaleWorlds.MountAndBlade.UsableMissionObject
virtual FocusableObjectType FocusableObjectType [get]
 
Agent UserAgent [get]
 
GameEntityWithWorldPosition GameEntityWithWorldPosition [get]
 
virtual Agent MovingAgent [get]
 
bool IsInstantUse [get, protected set]
 Whether this object is used instantly or is used continuously over some time. More...
 
bool IsDeactivated [get, set]
 
bool IsDisabledForPlayers [get, set]
 
virtual GameEntity InteractionEntity [get]
 
bool HasAIUser [get]
 
bool HasUser [get]
 
virtual bool HasAIMovingTo [get]
 
virtual bool DisableCombatActionsOnUse [get]
 If user agent's combat actions will be disabled while using this object or not. More...
 
bool IsVisible [get, set]
 
- Properties inherited from TaleWorlds.MountAndBlade.SynchedMissionObject
uint Color [get]
 
uint Color2 [get]
 
bool SynchronizeCompleted [get]
 
- Properties inherited from TaleWorlds.MountAndBlade.MissionObject
MissionObjectId Id [get, set]
 
bool IsDisabled [get]
 
bool CreatedAtRuntime [get]
 
- Properties inherited from TaleWorlds.Engine.ScriptComponentBehavior
GameEntity GameEntity [get]
 
ManagedScriptComponent ScriptComponent [get]
 
ManagedScriptHolder ManagedScriptHolder [get]
 
Scene Scene [get]
 
- Properties inherited from TaleWorlds.MountAndBlade.IFocusable
FocusableObjectType FocusableObjectType [get]
 
- Properties inherited from TaleWorlds.MountAndBlade.IVisible
bool IsVisible [get, set]
 

Additional Inherited Members

- Public Types inherited from TaleWorlds.MountAndBlade.SynchedMissionObject
enum  SynchFlags : uint
 
- Public Types inherited from TaleWorlds.Engine.ScriptComponentBehavior
enum  TickRequirement : uint
 
- 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
 

Constructor & Destructor Documentation

◆ StandingPoint()

TaleWorlds.MountAndBlade.StandingPoint.StandingPoint ( )

Member Function Documentation

◆ OnParentMachinePhysicsStateChanged()

void TaleWorlds.MountAndBlade.StandingPoint.OnParentMachinePhysicsStateChanged ( )

◆ IsDisabledForAgent()

◆ GetTickRequirement()

override TickRequirement TaleWorlds.MountAndBlade.StandingPoint.GetTickRequirement ( )
virtual

◆ DoesActionTypeStopUsingGameObject()

virtual bool TaleWorlds.MountAndBlade.StandingPoint.DoesActionTypeStopUsingGameObject ( Agent.ActionCodeType  actionType)
protectedvirtual

◆ OnUse()

override void TaleWorlds.MountAndBlade.StandingPoint.OnUse ( Agent  userAgent)
virtual

◆ OnUseStopped()

override void TaleWorlds.MountAndBlade.StandingPoint.OnUseStopped ( Agent  userAgent,
bool  isSuccessful,
int  preferenceIndex 
)
virtual

◆ GetUserFrameForAgent()

override WorldFrame TaleWorlds.MountAndBlade.StandingPoint.GetUserFrameForAgent ( Agent  agent)
virtual

◆ HasAlternative()

virtual bool TaleWorlds.MountAndBlade.StandingPoint.HasAlternative ( )
virtual

◆ GetUsageScoreForAgent() [1/2]

virtual float TaleWorlds.MountAndBlade.StandingPoint.GetUsageScoreForAgent ( Agent  agent)
virtual

◆ GetUsageScoreForAgent() [2/2]

virtual float TaleWorlds.MountAndBlade.StandingPoint.GetUsageScoreForAgent ( AgentValuePair< float >  agentPair)
virtual

◆ SetupOnUsingStoppedBehavior()

void TaleWorlds.MountAndBlade.StandingPoint.SetupOnUsingStoppedBehavior ( bool  autoAttach,
Action< Agent, bool >  action 
)

◆ OnEndMission()

override void TaleWorlds.MountAndBlade.StandingPoint.OnEndMission ( )
virtual

◆ GetDescriptionText()

override string TaleWorlds.MountAndBlade.StandingPoint.GetDescriptionText ( GameEntity  gameEntity = null)
virtual

Member Data Documentation

◆ AutoSheathWeapons

bool TaleWorlds.MountAndBlade.StandingPoint.AutoSheathWeapons

◆ AutoEquipWeaponsOnUseStopped

bool TaleWorlds.MountAndBlade.StandingPoint.AutoEquipWeaponsOnUseStopped

◆ AutoWieldWeapons

bool TaleWorlds.MountAndBlade.StandingPoint.AutoWieldWeapons

◆ TranslateUser

readonly bool TaleWorlds.MountAndBlade.StandingPoint.TranslateUser

◆ HasRecentlyBeenRechecked

bool TaleWorlds.MountAndBlade.StandingPoint.HasRecentlyBeenRechecked = false

◆ StandingPointSide

BattleSideEnum TaleWorlds.MountAndBlade.StandingPoint.StandingPointSide = BattleSideEnum.None
protected

Property Documentation

◆ DisableScriptedFrameFlags

virtual Agent.AIScriptedFrameFlags TaleWorlds.MountAndBlade.StandingPoint.DisableScriptedFrameFlags
get

◆ DisableCombatActionsOnUse

override bool TaleWorlds.MountAndBlade.StandingPoint.DisableCombatActionsOnUse
get

◆ FavoredUser

Agent TaleWorlds.MountAndBlade.StandingPoint.FavoredUser
getset

◆ PlayerStopsUsingWhenInteractsWithOther

virtual bool TaleWorlds.MountAndBlade.StandingPoint.PlayerStopsUsingWhenInteractsWithOther
get