Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
ScriptedInventoryTask.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
13 {
14  proto external void SetSlotOperation(InventoryStorageSlot slot, IEntity item, bool removeOp);
15 
16  // callbacks
17 
18  // Called upon task initialization owner is Entity with attached InventoryStorageManagerComponent (when adding to tasks queue)
19  event protected void Initialize(IEntity owner, InventoryStorageSlot slot, IEntity item, bool removeOp);
20  // Called before first Update, when task is start executing
21  event protected void Start(InventoryStorageSlot slot, IEntity item, bool removeOp);
22  // Called on update
23  event protected void Update(float dt, InventoryStorageSlot slot, IEntity item, bool removeOp);
24  // Task should return true when done, otherwise it won't be released by manager
25  event protected bool IsComplete(InventoryStorageSlot slot, IEntity item, bool removeOp) { return true; };
26 }
27 
InventoryStorageSlot
Definition: InventoryStorageSlot.c:12
ScriptedInventoryTask
Definition: ScriptedInventoryTask.c:12
BaseInventoryTask
Definition: BaseInventoryTask.c:12