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

Inherits SandBox.Missions.AgentBehaviors.AgentBehavior.

Public Member Functions

 FightBehavior (AgentBehaviorGroup behaviorGroup)
 
override float GetAvailability (bool isSimulation)
 
override string GetDebugInfo ()
 
- 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 OnActivate ()
 
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

◆ FightBehavior()

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

Member Function Documentation

◆ GetAvailability()

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

◆ OnActivate()

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

◆ OnDeactivate()

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

◆ GetDebugInfo()

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