|
| override bool | CanAdd (SCR_EditableEntityComponent entity) |
| | Check if the entity meets condition for this entity state.
|
| |
| override void | EOnEditorActivate () |
| | When the editor is opened (before cached array is intialized)
|
| |
| override void | EOnEditorDeactivate () |
| | When the editor is closed (after cached array is destroyed)
|
| |
| void | InitVariables (SCR_EntitiesManagerEditorComponent manager, SCR_BaseEditableEntityFilter predecessor) |
| |
| EEditableEntityState | GetState () |
| | Get entity state this component is managing.
|
| |
| string | GetStateName () |
| | Get name of the entity state this component is managing.
|
| |
| EEditableEntityState | GetPredecessorState () |
| | Get entity state of the component which preceeds this one.
|
| |
| SCR_BaseEditableEntityFilter | GetPredecessor () |
| | Get component which preceeds this one.
|
| |
| EEditableEntityFilterAutoAdd | GetAutoAdd () |
| | Check if entities can be registered automatically based on predecessor component.
|
| |
| int | GetEntities (out set< SCR_EditableEntityComponent > entities, bool includeChildren=false, bool evaluate=true) |
| | Get entities managed by this filter.
|
| |
| int | GetEntitiesCount () |
| | Get number of cached entities.
|
| |
| bool | IsEmpty () |
| | Check if the filter contains any entities.
|
| |
| SCR_EditableEntityComponent | GetFirstEntity () |
| | Get the first cached entity.
|
| |
| bool | Contains (SCR_EditableEntityComponent entity) |
| | Check if given entity is among cached entities.
|
| |
| ScriptInvokerBase< SCR_BaseEditableEntityFilter_OnChange > | GetOnChanged () |
| | Get script invoker which is triggered every time some entities are added or removed.
|
| |
| void | Log () |
| | Print all cached entities to the log.
|
| |
| void | OnFrameBase (float timeSlice) |
| |
| void | OnActivateBase () |
| |
| void | OnDeactivateBase () |
| |
| bool | Add (SCR_EditableEntityComponent entityInsert, bool onlyDirect=false) |
| | Register given entity.
|
| |
| bool | Add (notnull set< SCR_EditableEntityComponent > entitiesInsert, bool onlyDirect=false) |
| | Register multiple entities.
|
| |
| bool | Remove (SCR_EditableEntityComponent entityRemove, bool onlyDirect=false) |
| | Unregister given entity.
|
| |
| bool | Remove (notnull set< SCR_EditableEntityComponent > entitiesRemove, bool onlyDirect=false) |
| | Unregister multiple entities.
|
| |
| bool | Toggle (SCR_EditableEntityComponent entity, bool onlyDirect=false) |
| | Toggle state of given entity, i.e., register it if it's unregistered and unregister it if it's registered.
|
| |
| bool | Toggle (notnull set< SCR_EditableEntityComponent > entities, bool onlyDirect=false) |
| | Toggle state of given entities, i.e., register them if they're unregistered and unregister them if they're registered.
|
| |
| bool | Replace (SCR_EditableEntityComponent entityInsert, bool onlyDirect=false, bool keepExisting=false) |
| | Replace cached array with given entity.
|
| |
| bool | Replace (set< SCR_EditableEntityComponent > entitiesInsert, bool onlyDirect=false, bool keepExisting=false) |
| | Replace cached array with entities.
|
| |
| bool | Set (SCR_EditableEntityComponent entityInsert, SCR_EditableEntityComponent entityRemove, bool onlyDirect=false) |
| | Register and unregister entities in one go.
|
| |
| bool | Set (set< SCR_EditableEntityComponent > entitiesInsert, set< SCR_EditableEntityComponent > entitiesRemove, bool onlyDirect=false) |
| | Register and unregister entities in one go.
|
| |
| bool | SetFromPredecessor () |
| | Fill the list from the predecessor.
|
| |
| bool | Validate (SCR_EditableEntityComponent entity) |
| | If the entity is added to the filter, check if its condition is still valid.
|
| |
| bool | Clear () |
| | Clear cached array.
|
| |
| bool | Copy (SCR_BaseEditableEntityFilter filter, bool onlyDirect=false) |
| | Copy the list of registered entities from another filter.
|
| |
Filter entities which are friendly to player.
When the editor is not limited, all entities with a faction are accepted.