Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
ScriptedInventoryTask Interface Reference
Inheritance diagram for ScriptedInventoryTask:
[legend]

Public Member Functions

proto external void SetSlotOperation (InventoryStorageSlot slot, IEntity item, bool removeOp)
 
- Public Member Functions inherited from BaseInventoryTask
proto external BaseInventoryTask Then (BaseInventoryTask nextTask)
 

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.
 

Member Function Documentation

◆ Initialize()

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()

bool ScriptedInventoryTask.IsComplete ( InventoryStorageSlot  slot,
IEntity  item,
bool  removeOp 
)
protected

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

◆ OnTaskCompleted()

void ScriptedInventoryTask.OnTaskCompleted ( )
protected

Called only when I have completed.

◆ SetSlotOperation()

proto external void ScriptedInventoryTask.SetSlotOperation ( InventoryStorageSlot  slot,
IEntity  item,
bool  removeOp 
)

◆ Start()

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

Called before first Update, when task is start executing.

◆ Update()

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

Called on update.


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