|
Arma Reforger Script API
|
Utility class that aids on budgeting or batching the processing of a specified container of CONTAINER_TYPE that holds items of ITEM_TYPE type. More...
Public Member Functions | |
| CONTAINER_TYPE | GetContainer () |
| void | SetContainer (CONTAINER_TYPE container) |
| Sets the container instance. | |
| array< ITEM_TYPE > | ProcessNextBatch () |
| Processes the next batch based on the defined budget, and returns a new array with the batched items. | |
| void | SCR_ContainerBudgetManager (CONTAINER_TYPE container, int budgetSize) |
Protected Attributes | |
| CONTAINER_TYPE | m_Container |
| int | m_iBudgetSize |
| int | m_iPivot |
Utility class that aids on budgeting or batching the processing of a specified container of CONTAINER_TYPE that holds items of ITEM_TYPE type.
| void SCR_ContainerBudgetManager< Class CONTAINER_TYPE, Class ITEM_TYPE >.SCR_ContainerBudgetManager | ( | CONTAINER_TYPE | container, |
| int | budgetSize ) |
| CONTAINER_TYPE SCR_ContainerBudgetManager< Class CONTAINER_TYPE, Class ITEM_TYPE >.GetContainer | ( | ) |
| array< ITEM_TYPE > SCR_ContainerBudgetManager< Class CONTAINER_TYPE, Class ITEM_TYPE >.ProcessNextBatch | ( | ) |
Processes the next batch based on the defined budget, and returns a new array with the batched items.
| void SCR_ContainerBudgetManager< Class CONTAINER_TYPE, Class ITEM_TYPE >.SetContainer | ( | CONTAINER_TYPE | container | ) |
Sets the container instance.
| container | The container instance to set into the manager. |
|
protected |
|
protected |
|
protected |