![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| int | GetGridUpdateId () |
| int | GetFrameBudget () |
| void | ResetFrameBudget () |
| int | IncreaseGridUpdateId () |
| void | FlagResourceItem (notnull SCR_ResourceComponent item) |
| void | UnflagResourceItem (notnull SCR_ResourceComponent item) |
| void | ProcessFlaggedItems () |
| Registers all resource components that are flagged into the grid. | |
| void | UpdateResourceItem (notnull SCR_ResourceComponent item) |
| bool | ProcessResourceItem (notnull SCR_ResourceComponent item) |
| void | UnregisterResourceItem (notnull SCR_ResourceComponent item) |
| void | UpdateInteractor (notnull SCR_ResourceInteractor interactor, bool useFrameBudget=false) |
Protected Attributes | |
| ref array< SCR_ResourceComponent > | m_aFlaggedItems = {} |
| ref set< SCR_ResourceContainer > | m_aQueriedContainers = new set<SCR_ResourceContainer>() |
| int | m_iGridUpdateId = int.MIN |
| int | m_iFrameBudget |
Definition at line 1 of file SCR_ResourceGrid.c.
|
inlineprotected |
Flags a resource component (Considered items in this context) to be registered into the grid.
| [in] | item | The resource component to flag for registration. |
Definition at line 47 of file SCR_ResourceGrid.c.
|
inlineprotected |
Definition at line 20 of file SCR_ResourceGrid.c.
|
inlineprotected |
Definition at line 12 of file SCR_ResourceGrid.c.
|
inlineprotected |
Increases the update ID of the grid by 1.
Definition at line 35 of file SCR_ResourceGrid.c.
|
inlineprotected |
Registers all resource components that are flagged into the grid.
Definition at line 63 of file SCR_ResourceGrid.c.
|
inlineprotected |
Registers a resource component (Considered items in this context) in the grid.
| [in] | item | The resource component to register. |
Definition at line 104 of file SCR_ResourceGrid.c.
|
inlineprotected |
Definition at line 26 of file SCR_ResourceGrid.c.
|
inlineprotected |
Unflags a resource component (Considered items in this context) from being registered into the grid.
| [in] | item | The resource component to unflag from registration. |
Definition at line 56 of file SCR_ResourceGrid.c.
|
inlineprotected |
Unregisters a resource component (Considered items in this context) from the grid.
| [in] | item | The resource component to unregister. |
Definition at line 130 of file SCR_ResourceGrid.c.
|
inlineprotected |
Attempts to update the state of a resource interactor, basically will try to perform a query on the grid for containers it can reach with it's detection radius and then perform a check to see if it can be registered as valid container for the interactor. It will also recheck the current queue of containers to see if anything should be kept.
| [in] | interactor | The resource interactor to update. |
| [in] | useFrameBudget | If the frame budgeting should be used. |
Definition at line 150 of file SCR_ResourceGrid.c.
|
inlineprotected |
Updates the state of a resource component (Considered items in this context) in the grid.
| [in] | item | The resource component to update. |
Definition at line 85 of file SCR_ResourceGrid.c.
|
protected |
Definition at line 5 of file SCR_ResourceGrid.c.
|
protected |
Definition at line 6 of file SCR_ResourceGrid.c.
|
protected |
Definition at line 8 of file SCR_ResourceGrid.c.
|
protected |
Definition at line 7 of file SCR_ResourceGrid.c.