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

Inherits SandBox.Missions.AgentBehaviors.AgentBehaviorGroup.

Public Member Functions

 DailyBehaviorGroup (AgentNavigator navigator, Mission mission)
 
override void Tick (float dt, bool isSimulation)
 
override void ConversationTick ()
 
override float GetScore (bool isSimulation)
 
override void OnAgentRemoved (Agent agent)
 
override void ForceThink (float inSeconds)
 
- Public Member Functions inherited from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup
AddBehavior< T > ()
 
GetBehavior< T > ()
 
bool HasBehavior< T > ()
 
void RemoveBehavior< T > ()
 
void SetScriptedBehavior< T > ()
 
void DisableScriptedBehavior ()
 
void DisableAllBehaviors ()
 
AgentBehavior GetActiveBehavior ()
 
virtual void Tick (float dt, bool isSimulation)
 
virtual void ConversationTick ()
 
virtual void OnAgentRemoved (Agent agent)
 
virtual float GetScore (bool isSimulation)
 
virtual void ForceThink (float inSeconds)
 

Protected Member Functions

override void OnActivate ()
 
override void OnDeactivate ()
 
- Protected Member Functions inherited from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup
 AgentBehaviorGroup (AgentNavigator navigator, Mission mission)
 
virtual void OnActivate ()
 
virtual void OnDeactivate ()
 

Additional Inherited Members

- Public Attributes inherited from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup
AgentNavigator Navigator
 
List< AgentBehaviorBehaviors
 
- Protected Attributes inherited from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup
float CheckBehaviorTime = 5.0f
 
Timer CheckBehaviorTimer
 
- Properties inherited from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup
Agent OwnerAgent [get]
 
AgentBehavior ScriptedBehavior [get]
 
bool IsActive [get, set]
 
Mission Mission [get]
 

Constructor & Destructor Documentation

◆ DailyBehaviorGroup()

SandBox.Missions.AgentBehaviors.DailyBehaviorGroup.DailyBehaviorGroup ( AgentNavigator  navigator,
Mission  mission 
)

Member Function Documentation

◆ Tick()

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

◆ ConversationTick()

override void SandBox.Missions.AgentBehaviors.DailyBehaviorGroup.ConversationTick ( )
virtual

◆ GetScore()

override float SandBox.Missions.AgentBehaviors.DailyBehaviorGroup.GetScore ( bool  isSimulation)
virtual

◆ OnAgentRemoved()

override void SandBox.Missions.AgentBehaviors.DailyBehaviorGroup.OnAgentRemoved ( Agent  agent)
virtual

◆ OnActivate()

override void SandBox.Missions.AgentBehaviors.DailyBehaviorGroup.OnActivate ( )
protectedvirtual

◆ OnDeactivate()

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

◆ ForceThink()

override void SandBox.Missions.AgentBehaviors.DailyBehaviorGroup.ForceThink ( float  inSeconds)
virtual