Class UsableMachineAIBase
- Namespace
- TaleWorlds.MountAndBlade
- Assembly
- TaleWorlds.MountAndBlade.dll
public abstract class UsableMachineAIBase
- Inheritance
-
UsableMachineAIBase
- Derived
- Inherited Members
Constructors
UsableMachineAIBase(UsableMachine)
protected UsableMachineAIBase(UsableMachine usableMachine)
Parameters
usableMachineUsableMachine
Fields
UsableMachine
protected readonly UsableMachine UsableMachine
Field Value
Properties
HasActionCompleted
public virtual bool HasActionCompleted { get; }
Property Value
NextOrder
protected virtual MovementOrder NextOrder { get; }
Property Value
Methods
GetScriptedFrameFlags(Agent)
protected virtual Agent.AIScriptedFrameFlags GetScriptedFrameFlags(Agent agent)
Parameters
agentAgent
Returns
GetSuitableAgentForStandingPoint(UsableMachine, StandingPoint, IEnumerable<Agent>, List<Agent>)
public static Agent GetSuitableAgentForStandingPoint(UsableMachine usableMachine, StandingPoint standingPoint, IEnumerable<Agent> agents, List<Agent> usedAgents)
Parameters
usableMachineUsableMachinestandingPointStandingPointagentsIEnumerable<Agent>usedAgentsList<Agent>
Returns
GetSuitableAgentForStandingPoint(UsableMachine, StandingPoint, List<(Agent, float)>, List<Agent>, float)
public static Agent GetSuitableAgentForStandingPoint(UsableMachine usableMachine, StandingPoint standingPoint, List<(Agent, float)> agents, List<Agent> usedAgents, float weight)
Parameters
usableMachineUsableMachinestandingPointStandingPointagentsList<(Agent, float)>usedAgentsList<Agent>weightfloat
Returns
HandleAgentStopUsingStandingPoint(Agent, StandingPoint)
protected virtual void HandleAgentStopUsingStandingPoint(Agent agent, StandingPoint standingPoint)
Parameters
agentAgentstandingPointStandingPoint
OnTick(Agent, Formation, Team, float)
protected virtual void OnTick(Agent agentToCompareTo, Formation formationToCompareTo, Team potentialUsersTeam, float dt)
Parameters
StopUsingStandingPoint(StandingPoint)
public void StopUsingStandingPoint(StandingPoint standingPoint)
Parameters
standingPointStandingPoint
TeleportUserAgentsToMachine(List<Agent>)
public virtual void TeleportUserAgentsToMachine(List<Agent> agentList)
Parameters
Tick(Agent, Formation, Team, float)
public void Tick(Agent agentToCompareTo, Formation formationToCompareTo, Team potentialUsersTeam, float dt)
Parameters
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).