Table of Contents

Class StonePileAI

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public class StonePileAI : UsableMachineAIBase
Inheritance
StonePileAI
Inherited Members

Constructors

StonePileAI(StonePile)

public StonePileAI(StonePile stonePile)

Parameters

stonePile StonePile

Methods

GetSuitableAgentForStandingPoint(StonePile, StandingPoint, List<(Agent, float)>, List<Agent>, float)

public static Agent GetSuitableAgentForStandingPoint(StonePile stonePile, StandingPoint standingPoint, List<(Agent, float)> agents, List<Agent> usedAgents, float weight)

Parameters

stonePile StonePile
standingPoint StandingPoint
agents List<(Agent, float)>
usedAgents List<Agent>
weight float

Returns

Agent

GetSuitableAgentForStandingPoint(StonePile, StandingPoint, List<Agent>, List<Agent>)

public static Agent GetSuitableAgentForStandingPoint(StonePile usableMachine, StandingPoint standingPoint, List<Agent> agents, List<Agent> usedAgents)

Parameters

usableMachine StonePile
standingPoint StandingPoint
agents List<Agent>
usedAgents List<Agent>

Returns

Agent

HandleAgentStopUsingStandingPoint(Agent, StandingPoint)

protected override void HandleAgentStopUsingStandingPoint(Agent agent, StandingPoint standingPoint)

Parameters

agent Agent
standingPoint StandingPoint

IsAgentAssignable(Agent)

public static bool IsAgentAssignable(Agent agent)

Parameters

agent Agent

Returns

bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).