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

Protected Member Functions

void Initialize (IEntity owner, InventoryStorageSlot slot, IEntity item, bool removeOp)
 Called upon task initialization owner is Entity with attached InventoryStorageManagerComponent (when adding to tasks queue).
void Start (InventoryStorageSlot slot, IEntity item, bool removeOp)
 Called before first Update, when task is start executing.
void Update (float dt, InventoryStorageSlot slot, IEntity item, bool removeOp)
 Called on update.
bool IsComplete (InventoryStorageSlot slot, IEntity item, bool removeOp)
 Task should return true when done, otherwise it won't be released by manager.
void OnTaskCompleted ()
 Called only when I have completed.
void Initialize (IEntity owner, InventoryStorageSlot slot, IEntity item, bool removeOp)
 Called upon task initialization owner is Entity with attached InventoryStorageManagerComponent (when adding to tasks queue).
void Start (InventoryStorageSlot slot, IEntity item, bool removeOp)
 Called before first Update, when task is start executing.
void Update (float dt, InventoryStorageSlot slot, IEntity item, bool removeOp)
 Called on update.
bool IsComplete (InventoryStorageSlot slot, IEntity item, bool removeOp)
 Task should return true when done, otherwise it won't be released by manager.
void OnTaskCompleted ()
 Called only when I have completed.

Detailed Description

Definition at line 12 of file ScriptedInventoryTask.c.

Member Function Documentation

◆ Initialize() [1/2]

void ScriptedInventoryTask::Initialize ( IEntity owner,
InventoryStorageSlot slot,
IEntity item,
bool removeOp )
protected

Called upon task initialization owner is Entity with attached InventoryStorageManagerComponent (when adding to tasks queue).

◆ Initialize() [2/2]

void ScriptedInventoryTask::Initialize ( IEntity owner,
InventoryStorageSlot slot,
IEntity item,
bool removeOp )
protected

Called upon task initialization owner is Entity with attached InventoryStorageManagerComponent (when adding to tasks queue).

◆ IsComplete() [1/2]

bool ScriptedInventoryTask::IsComplete ( InventoryStorageSlot slot,
IEntity item,
bool removeOp )
inlineprotected

Task should return true when done, otherwise it won't be released by manager.

Definition at line 25 of file ScriptedInventoryTask.c.

◆ IsComplete() [2/2]

bool ScriptedInventoryTask::IsComplete ( InventoryStorageSlot slot,
IEntity item,
bool removeOp )
inlineprotected

Task should return true when done, otherwise it won't be released by manager.

Definition at line 25 of file ScriptedInventoryTask.c.

◆ OnTaskCompleted() [1/2]

void ScriptedInventoryTask::OnTaskCompleted ( )
protected

Called only when I have completed.

◆ OnTaskCompleted() [2/2]

void ScriptedInventoryTask::OnTaskCompleted ( )
protected

Called only when I have completed.

◆ Start() [1/2]

void ScriptedInventoryTask::Start ( InventoryStorageSlot slot,
IEntity item,
bool removeOp )
protected

Called before first Update, when task is start executing.

◆ Start() [2/2]

void ScriptedInventoryTask::Start ( InventoryStorageSlot slot,
IEntity item,
bool removeOp )
protected

Called before first Update, when task is start executing.

◆ Update() [1/2]

void ScriptedInventoryTask::Update ( float dt,
InventoryStorageSlot slot,
IEntity item,
bool removeOp )
protected

Called on update.

◆ Update() [2/2]

void ScriptedInventoryTask::Update ( float dt,
InventoryStorageSlot slot,
IEntity item,
bool removeOp )
protected

Called on update.


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