M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
SandBox.Missions.AgentBehaviors.TalkBehavior Class Reference

Inherits SandBox.Missions.AgentBehaviors.AgentBehavior.

Public Member Functions

 TalkBehavior (AgentBehaviorGroup behaviorGroup)
 
override void Tick (float dt, bool isSimulation)
 
override float GetAvailability (bool isSimulation)
 
override string GetDebugInfo ()
 
void Disable ()
 
void Enable (bool doNotMove)
 
- Public Member Functions inherited from SandBox.Missions.AgentBehaviors.AgentBehavior
virtual float GetAvailability (bool isSimulation)
 
virtual void Tick (float dt, bool isSimulation)
 
virtual void ConversationTick ()
 
virtual bool CheckStartWithBehavior ()
 
virtual void OnSpecialTargetChanged ()
 
virtual void SetCustomWanderTarget (UsableMachine customUsableMachine)
 
virtual void OnAgentRemoved (Agent agent)
 
abstract string GetDebugInfo ()
 

Protected Member Functions

override void OnDeactivate ()
 
- Protected Member Functions inherited from SandBox.Missions.AgentBehaviors.AgentBehavior
 AgentBehavior (AgentBehaviorGroup behaviorGroup)
 
virtual void OnActivate ()
 
virtual void OnDeactivate ()
 

Additional Inherited Members

- Public Attributes inherited from SandBox.Missions.AgentBehaviors.AgentBehavior
float CheckTime = 15.0f
 
- Protected Attributes inherited from SandBox.Missions.AgentBehaviors.AgentBehavior
readonly AgentBehaviorGroup BehaviorGroup
 
- Properties inherited from SandBox.Missions.AgentBehaviors.AgentBehavior
AgentNavigator Navigator [get]
 
bool IsActive [get, set]
 
Agent OwnerAgent [get]
 
Mission Mission [get]
 

Constructor & Destructor Documentation

◆ TalkBehavior()

SandBox.Missions.AgentBehaviors.TalkBehavior.TalkBehavior ( AgentBehaviorGroup  behaviorGroup)

Member Function Documentation

◆ Tick()

override void SandBox.Missions.AgentBehaviors.TalkBehavior.Tick ( float  dt,
bool  isSimulation 
)
virtual

◆ GetAvailability()

override float SandBox.Missions.AgentBehaviors.TalkBehavior.GetAvailability ( bool  isSimulation)
virtual

◆ GetDebugInfo()

override string SandBox.Missions.AgentBehaviors.TalkBehavior.GetDebugInfo ( )
virtual

◆ OnDeactivate()

override void SandBox.Missions.AgentBehaviors.TalkBehavior.OnDeactivate ( )
protectedvirtual

◆ Disable()

void SandBox.Missions.AgentBehaviors.TalkBehavior.Disable ( )

◆ Enable()

void SandBox.Missions.AgentBehaviors.TalkBehavior.Enable ( bool  doNotMove)