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

Inherits TaleWorlds.MountAndBlade.UsableMachineAIBase.

Public Member Functions

 StonePileAI (StonePile stonePile)
 
- Public Member Functions inherited from TaleWorlds.MountAndBlade.UsableMachineAIBase
void Tick (Func< Agent, bool > isAgentManagedByThisMachineAI, Team potentialUsersTeam, float dt)
 
virtual void TeleportUserAgentsToMachine (List< Agent > agentList)
 
void StopUsingStandingPoint (StandingPoint standingPoint)
 

Static Public Member Functions

static Agent GetSuitableAgentForStandingPoint (StonePile usableMachine, StandingPoint standingPoint, IEnumerable< Agent > agents, List< Agent > usedAgents)
 
static Agent GetSuitableAgentForStandingPoint (StonePile stonePile, StandingPoint standingPoint, IEnumerable< AgentValuePair< float > > agents, List< Agent > usedAgents, float weight)
 
static bool IsAgentAssignable (Agent agent)
 
- Static Public Member Functions inherited from TaleWorlds.MountAndBlade.UsableMachineAIBase
static Agent GetSuitableAgentForStandingPoint (UsableMachine usableMachine, StandingPoint standingPoint, IEnumerable< Agent > agents, List< Agent > usedAgents)
 
static Agent GetSuitableAgentForStandingPoint (UsableMachine usableMachine, StandingPoint standingPoint, IEnumerable< AgentValuePair< float > > agents, List< Agent > usedAgents, float weight)
 

Protected Member Functions

override void HandleAgentStopUsingStandingPoint (Agent agent, StandingPoint standingPoint)
 
- Protected Member Functions inherited from TaleWorlds.MountAndBlade.UsableMachineAIBase
 UsableMachineAIBase (UsableMachine usableMachine)
 
virtual void OnTick (Func< Agent, bool > isAgentManagedByThisMachineAI, Team potentialUsersTeam, float dt)
 
virtual void HandleAgentStopUsingStandingPoint (Agent agent, StandingPoint standingPoint)
 

Properties

override bool HasActionCompleted [get]
 
- Properties inherited from TaleWorlds.MountAndBlade.UsableMachineAIBase
virtual bool HasActionCompleted [get]
 
virtual MovementOrder NextOrder [get]
 The next action the ai agents will be ordered to do when this ai component's actions have been completed. More...
 

Additional Inherited Members

- Protected Attributes inherited from TaleWorlds.MountAndBlade.UsableMachineAIBase
readonly UsableMachine UsableMachine
 The object which ai agents are/will be using. More...
 

Constructor & Destructor Documentation

◆ StonePileAI()

TaleWorlds.MountAndBlade.StonePileAI.StonePileAI ( StonePile  stonePile)

Member Function Documentation

◆ GetSuitableAgentForStandingPoint() [1/2]

static Agent TaleWorlds.MountAndBlade.StonePileAI.GetSuitableAgentForStandingPoint ( StonePile  usableMachine,
StandingPoint  standingPoint,
IEnumerable< Agent agents,
List< Agent usedAgents 
)
static

◆ GetSuitableAgentForStandingPoint() [2/2]

static Agent TaleWorlds.MountAndBlade.StonePileAI.GetSuitableAgentForStandingPoint ( StonePile  stonePile,
StandingPoint  standingPoint,
IEnumerable< AgentValuePair< float > >  agents,
List< Agent usedAgents,
float  weight 
)
static

◆ IsAgentAssignable()

static bool TaleWorlds.MountAndBlade.StonePileAI.IsAgentAssignable ( Agent  agent)
static

◆ HandleAgentStopUsingStandingPoint()

override void TaleWorlds.MountAndBlade.StonePileAI.HandleAgentStopUsingStandingPoint ( Agent  agent,
StandingPoint  standingPoint 
)
protectedvirtual

Property Documentation

◆ HasActionCompleted

override bool TaleWorlds.MountAndBlade.StonePileAI.HasActionCompleted
get