Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ResupplyTaskSolver Class Reference
Inheritance diagram for SCR_ResupplyTaskSolver:
SCR_TaskSolverBase

Protected Member Functions

override void SetAiGroup (SCR_AIGroup aiGroup)
void SetResupplyTaskSolverEntry (SCR_ResupplyTaskSolverEntry entry)
 Configures this solver with a resupply solver entry.
SCR_VehicleConditionManager GetVehicleConditionManager ()
SCR_AIGroupConditionManager GetAiGroupConditionManager ()
ScriptInvokerInt2 GetOnResupplyTaskSolverStateChanged ()
SCR_EResupplyTaskSolverState GetResupplyTaskSolverState ()
void ResetToInitialState ()
 Reset solver state to initial (inactive).
void SetResupplyTaskSolverState (SCR_EResupplyTaskSolverState state)
override void Init (SCR_Task task, SCR_TaskSolverContext context)
 Initialize solver with task and context. Registers events.
override void StartTaskSolving ()
 Start the task-solving process, branching to appropriate initial action.
SCR_BoardingEntityWaypoint CreateBoardingVehicleWaypoint ()
SCR_AIWaypoint CreateMoveWaypointToSourceBase ()
void SetSourceBase (SCR_CampaignMilitaryBaseComponent sourceBase)
void SetVehicle (Vehicle vehicle)
override void Update (float timeSlice)
 Periodic update for resource/availability checks.
void FailResupplyTaskSolving (SCR_EResupplyTaskSolverErrorState errorState=SCR_EResupplyTaskSolverErrorState.DEFAULT)
 Mark solver as failed, clean up, and provide error reporting.
void CompleteTaskSolving ()
 Mark solver as completed with cleanup.
string GetTransportGroupName ()
void PreventMaxLOD (SCR_AIGroup aiGroup)
void AllowMaxLOD (SCR_AIGroup aiGroup)
void AddOnBoardingCompletedHandler ()
void RemoveOnBoardingCompletedHandler ()
void AddOnLoadSuppliesCompletedHandler ()
void RemoveOnLoadSuppliesCompletedHandler ()
void AddOnMoveToSuppliedBaseCompletedHandler ()
void RemoveOnMoveToSuppliedBaseCompletedHandler ()
void AddOnMoveToSourceBaseCompletedHandler ()
void RemoveOnMoveToSourceBaseCompletedHandler ()
void AddOnUnloadSuppliesCompletedHandler ()
void RemoveOnUnloadSuppliesCompletedHandler ()
SCR_ResourceContainer GetVehicleSuppliesContainer ()
void CompleteTransportGroupCurrentWaypoint ()
void CompleteAllWaypoints ()
void OnWaypointFailed (int moveResult, IEntity vehicleUsed, bool isWaypointRelated, vector moveLocation)
SCR_AIWaypoint CreateMoveWaypoint (SCR_EResupplyTaskSolverState resupplySolverState, vector waypointPosition, float waypointCompletionRadius)
SCR_LoadSuppliesWaypoint CreateLoadSuppliesWaypoint ()
void CreateMoveWaypointToSourceOrSuppliedBase ()
void OnBoardingCompleted (AIWaypoint waypoint)
void OnMoveToSourceBaseCompleted (SCR_AIWaypoint waypoint)
void OnLoadSuppliesCompleted (SCR_AIWaypoint waypoint)
void OnMoveToSuppliedBaseCompleted (SCR_AIWaypoint waypoint)
void OnUnloadSuppliesCompleted (SCR_AIWaypoint waypoint)
SCR_AIWaypoint SpawnWaypoint (Resource waypointPrefab, vector origin)
SCR_BoardingWaypoint SpawnGetOutWaypoint ()
SCR_BoardingEntityWaypoint SpawnBoardingWaypoint ()
SCR_AIWaypoint SpawnMoveWaypoint (vector position)
SCR_AIWaypoint SpawnLoadSupplyWaypoint ()
SCR_UnloadSuppliesWaypoint SpawnUnloadSupplyWaypoint ()
void SCR_ResupplyTaskSolver ()

Protected Attributes

SCR_EResupplyTaskSolverState m_eResupplySolverState = SCR_EResupplyTaskSolverState.INACTIVE
SCR_AIGroupUtilityComponent m_TransportGroupUtility
Vehicle m_Vehicle
SCR_AIVehicleUsageComponent m_AiVehicleUsage
EAIGroupCombatMode m_ePreviousGroupCombatMode
SCR_BoardingEntityWaypoint m_BoardingWaypoint
SCR_AIWaypoint m_MoveToSuppliedBaseWaypoint
SCR_AIWaypoint m_MoveToSourceBaseWaypoint
SCR_LoadSuppliesWaypoint m_LoadSuppliesWaypoint
SCR_UnloadSuppliesWaypoint m_UnloadSuppliesWaypoint
SCR_ResupplyCampaignMilitaryBaseTaskEntity m_ResupplyTask
SCR_CampaignMilitaryBaseComponent m_SourceBase
ref SCR_VehicleConditionManager m_VehicleConditionManager
ref SCR_AIGroupConditionManager m_AiGroupConditionManager
ref SCR_ResupplyTaskSolverEntry m_ResupplyTaskSolverEntry
ref ScriptInvokerInt2 m_OnResupplyTaskSolverStateChanged

Detailed Description

Definition at line 1 of file SCR_ResupplyTaskSolver.c.

Constructor & Destructor Documentation

◆ SCR_ResupplyTaskSolver()

void SCR_ResupplyTaskSolver::SCR_ResupplyTaskSolver ( )
inlineprotected

Definition at line 648 of file SCR_ResupplyTaskSolver.c.

Member Function Documentation

◆ AddOnBoardingCompletedHandler()

void SCR_ResupplyTaskSolver::AddOnBoardingCompletedHandler ( )
inlineprotected

Definition at line 301 of file SCR_ResupplyTaskSolver.c.

◆ AddOnLoadSuppliesCompletedHandler()

void SCR_ResupplyTaskSolver::AddOnLoadSuppliesCompletedHandler ( )
inlineprotected

Definition at line 315 of file SCR_ResupplyTaskSolver.c.

◆ AddOnMoveToSourceBaseCompletedHandler()

void SCR_ResupplyTaskSolver::AddOnMoveToSourceBaseCompletedHandler ( )
inlineprotected

Definition at line 342 of file SCR_ResupplyTaskSolver.c.

◆ AddOnMoveToSuppliedBaseCompletedHandler()

void SCR_ResupplyTaskSolver::AddOnMoveToSuppliedBaseCompletedHandler ( )
inlineprotected

Definition at line 328 of file SCR_ResupplyTaskSolver.c.

◆ AddOnUnloadSuppliesCompletedHandler()

void SCR_ResupplyTaskSolver::AddOnUnloadSuppliesCompletedHandler ( )
inlineprotected

Definition at line 355 of file SCR_ResupplyTaskSolver.c.

◆ AllowMaxLOD()

void SCR_ResupplyTaskSolver::AllowMaxLOD ( SCR_AIGroup aiGroup)
inlineprotected

Definition at line 286 of file SCR_ResupplyTaskSolver.c.

◆ CompleteAllWaypoints()

void SCR_ResupplyTaskSolver::CompleteAllWaypoints ( )
inlineprotected

Definition at line 391 of file SCR_ResupplyTaskSolver.c.

◆ CompleteTaskSolving()

void SCR_ResupplyTaskSolver::CompleteTaskSolving ( )
inlineprotected

Mark solver as completed with cleanup.

Definition at line 239 of file SCR_ResupplyTaskSolver.c.

◆ CompleteTransportGroupCurrentWaypoint()

void SCR_ResupplyTaskSolver::CompleteTransportGroupCurrentWaypoint ( )
inlineprotected

Definition at line 379 of file SCR_ResupplyTaskSolver.c.

◆ CreateBoardingVehicleWaypoint()

SCR_BoardingEntityWaypoint SCR_ResupplyTaskSolver::CreateBoardingVehicleWaypoint ( )
inlineprotected

Definition at line 148 of file SCR_ResupplyTaskSolver.c.

◆ CreateLoadSuppliesWaypoint()

SCR_LoadSuppliesWaypoint SCR_ResupplyTaskSolver::CreateLoadSuppliesWaypoint ( )
inlineprotected

Definition at line 445 of file SCR_ResupplyTaskSolver.c.

◆ CreateMoveWaypoint()

SCR_AIWaypoint SCR_ResupplyTaskSolver::CreateMoveWaypoint ( SCR_EResupplyTaskSolverState resupplySolverState,
vector waypointPosition,
float waypointCompletionRadius )
inlineprotected

Definition at line 409 of file SCR_ResupplyTaskSolver.c.

◆ CreateMoveWaypointToSourceBase()

SCR_AIWaypoint SCR_ResupplyTaskSolver::CreateMoveWaypointToSourceBase ( )
inlineprotected

Definition at line 167 of file SCR_ResupplyTaskSolver.c.

◆ CreateMoveWaypointToSourceOrSuppliedBase()

void SCR_ResupplyTaskSolver::CreateMoveWaypointToSourceOrSuppliedBase ( )
inlineprotected

Definition at line 464 of file SCR_ResupplyTaskSolver.c.

◆ FailResupplyTaskSolving()

void SCR_ResupplyTaskSolver::FailResupplyTaskSolving ( SCR_EResupplyTaskSolverErrorState errorState = SCR_EResupplyTaskSolverErrorState.DEFAULT)
inlineprotected

Mark solver as failed, clean up, and provide error reporting.

Definition at line 212 of file SCR_ResupplyTaskSolver.c.

◆ GetAiGroupConditionManager()

SCR_AIGroupConditionManager SCR_ResupplyTaskSolver::GetAiGroupConditionManager ( )
inlineprotected

Definition at line 51 of file SCR_ResupplyTaskSolver.c.

◆ GetOnResupplyTaskSolverStateChanged()

ScriptInvokerInt2 SCR_ResupplyTaskSolver::GetOnResupplyTaskSolverStateChanged ( )
inlineprotected

Definition at line 57 of file SCR_ResupplyTaskSolver.c.

◆ GetResupplyTaskSolverState()

SCR_EResupplyTaskSolverState SCR_ResupplyTaskSolver::GetResupplyTaskSolverState ( )
inlineprotected

Definition at line 66 of file SCR_ResupplyTaskSolver.c.

◆ GetTransportGroupName()

string SCR_ResupplyTaskSolver::GetTransportGroupName ( )
inlineprotected

Definition at line 255 of file SCR_ResupplyTaskSolver.c.

◆ GetVehicleConditionManager()

SCR_VehicleConditionManager SCR_ResupplyTaskSolver::GetVehicleConditionManager ( )
inlineprotected

Definition at line 45 of file SCR_ResupplyTaskSolver.c.

◆ GetVehicleSuppliesContainer()

SCR_ResourceContainer SCR_ResupplyTaskSolver::GetVehicleSuppliesContainer ( )
inlineprotected

Definition at line 369 of file SCR_ResupplyTaskSolver.c.

◆ Init()

override void SCR_ResupplyTaskSolver::Init ( SCR_Task task,
SCR_TaskSolverContext context )
inlineprotected

Initialize solver with task and context. Registers events.

Definition at line 97 of file SCR_ResupplyTaskSolver.c.

◆ OnBoardingCompleted()

void SCR_ResupplyTaskSolver::OnBoardingCompleted ( AIWaypoint waypoint)
inlineprotected

Definition at line 507 of file SCR_ResupplyTaskSolver.c.

◆ OnLoadSuppliesCompleted()

void SCR_ResupplyTaskSolver::OnLoadSuppliesCompleted ( SCR_AIWaypoint waypoint)
inlineprotected

Definition at line 527 of file SCR_ResupplyTaskSolver.c.

◆ OnMoveToSourceBaseCompleted()

void SCR_ResupplyTaskSolver::OnMoveToSourceBaseCompleted ( SCR_AIWaypoint waypoint)
inlineprotected

Definition at line 517 of file SCR_ResupplyTaskSolver.c.

◆ OnMoveToSuppliedBaseCompleted()

void SCR_ResupplyTaskSolver::OnMoveToSuppliedBaseCompleted ( SCR_AIWaypoint waypoint)
inlineprotected

Definition at line 544 of file SCR_ResupplyTaskSolver.c.

◆ OnUnloadSuppliesCompleted()

void SCR_ResupplyTaskSolver::OnUnloadSuppliesCompleted ( SCR_AIWaypoint waypoint)
inlineprotected

Definition at line 565 of file SCR_ResupplyTaskSolver.c.

◆ OnWaypointFailed()

void SCR_ResupplyTaskSolver::OnWaypointFailed ( int moveResult,
IEntity vehicleUsed,
bool isWaypointRelated,
vector moveLocation )
inlineprotected

Definition at line 400 of file SCR_ResupplyTaskSolver.c.

◆ PreventMaxLOD()

void SCR_ResupplyTaskSolver::PreventMaxLOD ( SCR_AIGroup aiGroup)
inlineprotected

Definition at line 266 of file SCR_ResupplyTaskSolver.c.

◆ RemoveOnBoardingCompletedHandler()

void SCR_ResupplyTaskSolver::RemoveOnBoardingCompletedHandler ( )
inlineprotected

Definition at line 308 of file SCR_ResupplyTaskSolver.c.

◆ RemoveOnLoadSuppliesCompletedHandler()

void SCR_ResupplyTaskSolver::RemoveOnLoadSuppliesCompletedHandler ( )
inlineprotected

Definition at line 321 of file SCR_ResupplyTaskSolver.c.

◆ RemoveOnMoveToSourceBaseCompletedHandler()

void SCR_ResupplyTaskSolver::RemoveOnMoveToSourceBaseCompletedHandler ( )
inlineprotected

Definition at line 349 of file SCR_ResupplyTaskSolver.c.

◆ RemoveOnMoveToSuppliedBaseCompletedHandler()

void SCR_ResupplyTaskSolver::RemoveOnMoveToSuppliedBaseCompletedHandler ( )
inlineprotected

Definition at line 335 of file SCR_ResupplyTaskSolver.c.

◆ RemoveOnUnloadSuppliesCompletedHandler()

void SCR_ResupplyTaskSolver::RemoveOnUnloadSuppliesCompletedHandler ( )
inlineprotected

Definition at line 362 of file SCR_ResupplyTaskSolver.c.

◆ ResetToInitialState()

void SCR_ResupplyTaskSolver::ResetToInitialState ( )
inlineprotected

Reset solver state to initial (inactive).

Definition at line 73 of file SCR_ResupplyTaskSolver.c.

◆ SetAiGroup()

override void SCR_ResupplyTaskSolver::SetAiGroup ( SCR_AIGroup aiGroup)
inlineprotected

Definition at line 22 of file SCR_ResupplyTaskSolver.c.

◆ SetResupplyTaskSolverEntry()

void SCR_ResupplyTaskSolver::SetResupplyTaskSolverEntry ( SCR_ResupplyTaskSolverEntry entry)
inlineprotected

Configures this solver with a resupply solver entry.

Definition at line 39 of file SCR_ResupplyTaskSolver.c.

◆ SetResupplyTaskSolverState()

void SCR_ResupplyTaskSolver::SetResupplyTaskSolverState ( SCR_EResupplyTaskSolverState state)
inlineprotected

Definition at line 79 of file SCR_ResupplyTaskSolver.c.

◆ SetSourceBase()

void SCR_ResupplyTaskSolver::SetSourceBase ( SCR_CampaignMilitaryBaseComponent sourceBase)
inlineprotected

Definition at line 176 of file SCR_ResupplyTaskSolver.c.

◆ SetVehicle()

void SCR_ResupplyTaskSolver::SetVehicle ( Vehicle vehicle)
inlineprotected

Definition at line 185 of file SCR_ResupplyTaskSolver.c.

◆ SpawnBoardingWaypoint()

SCR_BoardingEntityWaypoint SCR_ResupplyTaskSolver::SpawnBoardingWaypoint ( )
inlineprotected

Definition at line 608 of file SCR_ResupplyTaskSolver.c.

◆ SpawnGetOutWaypoint()

SCR_BoardingWaypoint SCR_ResupplyTaskSolver::SpawnGetOutWaypoint ( )
inlineprotected

Definition at line 598 of file SCR_ResupplyTaskSolver.c.

◆ SpawnLoadSupplyWaypoint()

SCR_AIWaypoint SCR_ResupplyTaskSolver::SpawnLoadSupplyWaypoint ( )
inlineprotected

Definition at line 628 of file SCR_ResupplyTaskSolver.c.

◆ SpawnMoveWaypoint()

SCR_AIWaypoint SCR_ResupplyTaskSolver::SpawnMoveWaypoint ( vector position)
inlineprotected

Definition at line 618 of file SCR_ResupplyTaskSolver.c.

◆ SpawnUnloadSupplyWaypoint()

SCR_UnloadSuppliesWaypoint SCR_ResupplyTaskSolver::SpawnUnloadSupplyWaypoint ( )
inlineprotected

Definition at line 638 of file SCR_ResupplyTaskSolver.c.

◆ SpawnWaypoint()

SCR_AIWaypoint SCR_ResupplyTaskSolver::SpawnWaypoint ( Resource waypointPrefab,
vector origin )
inlineprotected

Definition at line 582 of file SCR_ResupplyTaskSolver.c.

◆ StartTaskSolving()

override void SCR_ResupplyTaskSolver::StartTaskSolving ( )
inlineprotected

Start the task-solving process, branching to appropriate initial action.

Definition at line 115 of file SCR_ResupplyTaskSolver.c.

◆ Update()

override void SCR_ResupplyTaskSolver::Update ( float timeSlice)
inlineprotected

Periodic update for resource/availability checks.

Definition at line 195 of file SCR_ResupplyTaskSolver.c.

Member Data Documentation

◆ m_AiGroupConditionManager

ref SCR_AIGroupConditionManager SCR_ResupplyTaskSolver::m_AiGroupConditionManager
protected

Definition at line 17 of file SCR_ResupplyTaskSolver.c.

◆ m_AiVehicleUsage

SCR_AIVehicleUsageComponent SCR_ResupplyTaskSolver::m_AiVehicleUsage
protected

Definition at line 6 of file SCR_ResupplyTaskSolver.c.

◆ m_BoardingWaypoint

SCR_BoardingEntityWaypoint SCR_ResupplyTaskSolver::m_BoardingWaypoint
protected

Definition at line 8 of file SCR_ResupplyTaskSolver.c.

◆ m_ePreviousGroupCombatMode

EAIGroupCombatMode SCR_ResupplyTaskSolver::m_ePreviousGroupCombatMode
protected

Definition at line 7 of file SCR_ResupplyTaskSolver.c.

◆ m_eResupplySolverState

SCR_EResupplyTaskSolverState SCR_ResupplyTaskSolver::m_eResupplySolverState = SCR_EResupplyTaskSolverState.INACTIVE
protected

Definition at line 3 of file SCR_ResupplyTaskSolver.c.

◆ m_LoadSuppliesWaypoint

SCR_LoadSuppliesWaypoint SCR_ResupplyTaskSolver::m_LoadSuppliesWaypoint
protected

Definition at line 11 of file SCR_ResupplyTaskSolver.c.

◆ m_MoveToSourceBaseWaypoint

SCR_AIWaypoint SCR_ResupplyTaskSolver::m_MoveToSourceBaseWaypoint
protected

Definition at line 10 of file SCR_ResupplyTaskSolver.c.

◆ m_MoveToSuppliedBaseWaypoint

SCR_AIWaypoint SCR_ResupplyTaskSolver::m_MoveToSuppliedBaseWaypoint
protected

Definition at line 9 of file SCR_ResupplyTaskSolver.c.

◆ m_OnResupplyTaskSolverStateChanged

ref ScriptInvokerInt2 SCR_ResupplyTaskSolver::m_OnResupplyTaskSolverStateChanged
protected

Definition at line 19 of file SCR_ResupplyTaskSolver.c.

◆ m_ResupplyTask

SCR_ResupplyCampaignMilitaryBaseTaskEntity SCR_ResupplyTaskSolver::m_ResupplyTask
protected

Definition at line 13 of file SCR_ResupplyTaskSolver.c.

◆ m_ResupplyTaskSolverEntry

ref SCR_ResupplyTaskSolverEntry SCR_ResupplyTaskSolver::m_ResupplyTaskSolverEntry
protected

Definition at line 18 of file SCR_ResupplyTaskSolver.c.

◆ m_SourceBase

SCR_CampaignMilitaryBaseComponent SCR_ResupplyTaskSolver::m_SourceBase
protected

Definition at line 14 of file SCR_ResupplyTaskSolver.c.

◆ m_TransportGroupUtility

SCR_AIGroupUtilityComponent SCR_ResupplyTaskSolver::m_TransportGroupUtility
protected

Definition at line 4 of file SCR_ResupplyTaskSolver.c.

◆ m_UnloadSuppliesWaypoint

SCR_UnloadSuppliesWaypoint SCR_ResupplyTaskSolver::m_UnloadSuppliesWaypoint
protected

Definition at line 12 of file SCR_ResupplyTaskSolver.c.

◆ m_Vehicle

Vehicle SCR_ResupplyTaskSolver::m_Vehicle
protected

Definition at line 5 of file SCR_ResupplyTaskSolver.c.

◆ m_VehicleConditionManager

ref SCR_VehicleConditionManager SCR_ResupplyTaskSolver::m_VehicleConditionManager
protected

Definition at line 16 of file SCR_ResupplyTaskSolver.c.


The documentation for this class was generated from the following file: