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

Inherits SandBox.Missions.AgentBehaviors.AgentBehavior.

Public Member Functions

 BoardGameAgentBehavior (AgentBehaviorGroup behaviorGroup)
 
override void Tick (float dt, bool isSimulation)
 
override string GetDebugInfo ()
 
override float GetAvailability (bool isSimulation)
 
- 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 ()
 

Static Public Member Functions

static void AddTargetChair (Agent ownerAgent, Chair chair)
 
static void RemoveBoardGameBehaviorOfAgent (Agent ownerAgent)
 
static bool IsAgentMovingToChair (Agent ownerAgent)
 

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

◆ BoardGameAgentBehavior()

SandBox.Source.Missions.AgentBehaviors.BoardGameAgentBehavior.BoardGameAgentBehavior ( AgentBehaviorGroup  behaviorGroup)

Member Function Documentation

◆ Tick()

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

◆ OnDeactivate()

override void SandBox.Source.Missions.AgentBehaviors.BoardGameAgentBehavior.OnDeactivate ( )
protectedvirtual

◆ GetDebugInfo()

override string SandBox.Source.Missions.AgentBehaviors.BoardGameAgentBehavior.GetDebugInfo ( )
virtual

◆ GetAvailability()

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

◆ AddTargetChair()

static void SandBox.Source.Missions.AgentBehaviors.BoardGameAgentBehavior.AddTargetChair ( Agent  ownerAgent,
Chair  chair 
)
static

◆ RemoveBoardGameBehaviorOfAgent()

static void SandBox.Source.Missions.AgentBehaviors.BoardGameAgentBehavior.RemoveBoardGameBehaviorOfAgent ( Agent  ownerAgent)
static

◆ IsAgentMovingToChair()

static bool SandBox.Source.Missions.AgentBehaviors.BoardGameAgentBehavior.IsAgentMovingToChair ( Agent  ownerAgent)
static