![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Static Protected Member Functions | |
| static SCR_BaseEditableEntityFilter | GetInstance (EEditableEntityState state, bool showError=false) |
| static SCR_EditableEntityComponent | GetFirstEntity (EEditableEntityState state) |
| static int | GetEnititiesStatic (out set< SCR_EditableEntityComponent > entities, EEditableEntityState state, bool includeChildren=false, bool evaluate=true) |
Protected Attributes | |
| EEditableEntityState | m_State |
| EEditableEntityState | m_PredecessorState |
| EEditableEntityFilterAutoAdd | m_bAutoAdd |
| bool | m_bSkipIgnored |
| bool | m_bOnlyInteractive |
| SCR_EditableEntityCore | m_Core |
| SCR_EntitiesManagerEditorComponent | m_Manager |
| SCR_BaseEditableEntityFilter | m_Predecessor |
| ref set< SCR_EditableEntityComponent > | m_Entities |
| int | m_iEntitiesCount |
| string | m_sStateName = "N/A" |
| ref ScriptInvokerBase< SCR_BaseEditableEntityFilter_OnChange > | m_OnChange = new ScriptInvokerBase<SCR_BaseEditableEntityFilter_OnChange>() |
Base class for a manager of editable entities of specific state.
Attached on SCR_EntitiesManagerEditorComponent.
Definition at line 13 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Register multiple entities.
| entitiesInsert | Entities to be registered |
| onlyDirect | True to also include children of all affected entities |
Definition at line 314 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Register given entity.
| entityInsert | Entity to be registered |
| onlyDirect | True to also include children of all affected entities |
Definition at line 297 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 679 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Check if the entity meets condition for this entity state.
| entity | Editable entity |
Definition at line 789 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Clear cached array.
Definition at line 642 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Check if given entity is among cached entities.
Definition at line 211 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Copy the list of registered entities from another filter.
| filter | Filter from which the list of entities will be copied |
| onlyDirect | True to also include children of all affected entities |
Definition at line 656 of file SCR_BaseEditableEntityFilter.c.
|
protected |
When the editor is opened (before cached array is intialized).
|
protected |
When the editor is closed (after cached array is destroyed).
|
protected |
Every frame while the editor is opened.
|
inlineprotected |
Check if entities can be registered automatically based on predecessor component.
Definition at line 127 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 248 of file SCR_BaseEditableEntityFilter.c.
|
inlinestaticprotected |
Get first entity of given filter type.
Definition at line 83 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Get entities managed by this filter. When the editor is opened, cached array is returned. When the editor is closed, the array is re-calculated based on conditions of this component and all its predecessors. Use sparingly!
| [out] | entities | Array to be filled with entities |
| includeChildren | True to also include all children of filtered entities (even when they don't meet filter's condition) |
Definition at line 139 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Get number of cached entities.
Definition at line 181 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 225 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Get the first cached entity.
Definition at line 201 of file SCR_BaseEditableEntityFilter.c.
|
inlinestaticprotected |
Get first entity of given filter type.
Definition at line 71 of file SCR_BaseEditableEntityFilter.c.
|
inlinestaticprotected |
Get current filter instance.
| Desired | entity state |
| showError | True to log a warning message when the filter was not found |
Definition at line 54 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 243 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Get script invoker which is triggered every time some entities are added or removed.
Definition at line 220 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 231 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Get component which preceeds this one.
Definition at line 119 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Get entity state of the component which preceeds this one.
Definition at line 111 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Get entity state this component is managing.
Definition at line 95 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Get name of the entity state this component is managing.
Definition at line 103 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 253 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 42 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 665 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Check if the filter contains any entities.
Definition at line 192 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Print all cached entities to the log.
Definition at line 734 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 759 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 281 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 275 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 768 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 754 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Unregister multiple entities.
| entitiesRemove | Entities to be unregistered |
| onlyDirect | True to also include children of all affected entities |
Definition at line 359 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Unregister given entity.
| entityRemove | Entity to be unregistered |
| onlyDirect | True to also include children of all affected entities |
Definition at line 342 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Definition at line 710 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Replace cached array with given entity. ALl currently registered entities will be removed.
| entityInsert | Entity to be registered |
| onlyDirect | True to also include children of all affected entities \para, keepExisting True to keep all already listed entities, provided they still pass filter condition |
Definition at line 425 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Replace cached array with entities. ALl currently registered entities will be removed.
| entitiesInsert | Entities to be registered |
| onlyDirect | True to also include children of all affected entities \para, keepExisting True to keep all already listed entities, provided they still pass filter condition |
Definition at line 447 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Register and unregister entities in one go.
| entityInsert | Entity to be registered |
| entityRemove | Entity to be unregistered |
| onlyDirect | True to also include children of all affected entities |
Definition at line 517 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Register and unregister entities in one go.
| entitiesInsert | Entities to be registered |
| entitiesRemove | Entities to be unregistered |
| onlyDirect | True to also include children of all affected entities |
Definition at line 544 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Fill the list from the predecessor.
Definition at line 598 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Toggle state of given entities, i.e., register them if they're unregistered and unregister them if they're registered.
| entities | Affected entities |
| onlyDirect | True to also include children of all affected entities |
Definition at line 400 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
Toggle state of given entity, i.e., register it if it's unregistered and unregister it if it's registered.
| entity | Affected entity |
| onlyDirect | True to also include children of all affected entities |
Definition at line 386 of file SCR_BaseEditableEntityFilter.c.
|
inlineprotected |
If the entity is added to the filter, check if its condition is still valid. If not, remove the entity.
| entity | Queried entity |
Definition at line 616 of file SCR_BaseEditableEntityFilter.c.
|
protected |
Definition at line 22 of file SCR_BaseEditableEntityFilter.c.
|
protected |
Definition at line 28 of file SCR_BaseEditableEntityFilter.c.
|
protected |
Definition at line 25 of file SCR_BaseEditableEntityFilter.c.
|
protected |
Definition at line 30 of file SCR_BaseEditableEntityFilter.c.
|
protected |
Definition at line 33 of file SCR_BaseEditableEntityFilter.c.
|
protected |
Definition at line 34 of file SCR_BaseEditableEntityFilter.c.
|
protected |
Definition at line 31 of file SCR_BaseEditableEntityFilter.c.
|
protected |
Definition at line 36 of file SCR_BaseEditableEntityFilter.c.
|
protected |
Definition at line 32 of file SCR_BaseEditableEntityFilter.c.
|
protected |
Definition at line 19 of file SCR_BaseEditableEntityFilter.c.
|
protected |
Definition at line 35 of file SCR_BaseEditableEntityFilter.c.
|
protected |
Definition at line 16 of file SCR_BaseEditableEntityFilter.c.