Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_TaskSolverBase Interface Reference
Inheritance diagram for SCR_TaskSolverBase:
SCR_ResupplyTaskSolver

Public Member Functions

int GetId ()
 
void SetId (int id)
 
void SetAiGroup (SCR_AIGroup aiGroup)
 
OnTaskSolverStateChangedInvoker GetOnStateChanged ()
 
SCR_Task GetTask ()
 
SCR_ETaskSolverState GetState ()
 
void StartTaskSolving ()
 Marks the task solver as in progress.
 
void FailTaskSolving ()
 Marks the task solver as failed.
 
void Update (float timeSlice)
 
void Init (SCR_Task task, SCR_TaskSolverContext context)
 
void Deinit ()
 

Protected Member Functions

void SetState (SCR_ETaskSolverState state)
 
void CompleteTaskSolving ()
 Marks the task solver as completed.
 
void OnTaskStateChanged (SCR_Task task, SCR_ETaskState newState)
 

Protected Attributes

SCR_Task m_Task
 
SCR_AIGroup m_AiGroup
 
SCR_ETaskSolverState m_eState
 
int m_iId = -1
 
ref OnTaskSolverStateChangedInvoker m_OnStateChanged
 

Member Function Documentation

◆ CompleteTaskSolving()

void SCR_TaskSolverBase.CompleteTaskSolving ( )
protected

Marks the task solver as completed.

Implemented in SCR_ResupplyTaskSolver.

◆ Deinit()

void SCR_TaskSolverBase.Deinit ( )

◆ FailTaskSolving()

void SCR_TaskSolverBase.FailTaskSolving ( )

Marks the task solver as failed.

◆ GetId()

int SCR_TaskSolverBase.GetId ( )

◆ GetOnStateChanged()

OnTaskSolverStateChangedInvoker SCR_TaskSolverBase.GetOnStateChanged ( )

◆ GetState()

SCR_ETaskSolverState SCR_TaskSolverBase.GetState ( )

◆ GetTask()

SCR_Task SCR_TaskSolverBase.GetTask ( )

◆ Init()

void SCR_TaskSolverBase.Init ( SCR_Task task,
SCR_TaskSolverContext context )

Implemented in SCR_ResupplyTaskSolver.

◆ OnTaskStateChanged()

void SCR_TaskSolverBase.OnTaskStateChanged ( SCR_Task task,
SCR_ETaskState newState )
protected

◆ SetAiGroup()

void SCR_TaskSolverBase.SetAiGroup ( SCR_AIGroup aiGroup)

Implemented in SCR_ResupplyTaskSolver.

◆ SetId()

void SCR_TaskSolverBase.SetId ( int id)

◆ SetState()

void SCR_TaskSolverBase.SetState ( SCR_ETaskSolverState state)
protected

◆ StartTaskSolving()

void SCR_TaskSolverBase.StartTaskSolving ( )

Marks the task solver as in progress.

Implemented in SCR_ResupplyTaskSolver.

◆ Update()

void SCR_TaskSolverBase.Update ( float timeSlice)

Implemented in SCR_ResupplyTaskSolver.

Member Data Documentation

◆ m_AiGroup

SCR_AIGroup SCR_TaskSolverBase.m_AiGroup
protected

◆ m_eState

SCR_ETaskSolverState SCR_TaskSolverBase.m_eState
protected

◆ m_iId

int SCR_TaskSolverBase.m_iId = -1
protected

◆ m_OnStateChanged

ref OnTaskSolverStateChangedInvoker SCR_TaskSolverBase.m_OnStateChanged
protected

◆ m_Task

SCR_Task SCR_TaskSolverBase.m_Task
protected

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