|
| override void | FilterEntities (notnull set< SCR_EditableEntityComponent > inEntities, out notnull set< SCR_EditableEntityComponent > outEntities) |
| |
| override bool | CanBeShown (SCR_EditableEntityComponent hoveredEntity, notnull set< SCR_EditableEntityComponent > selectedEntities, vector cursorWorldPosition, int flags) |
| | Determine if action can be shown with passed hovered entity and selected entitites.
|
| |
Public Member Functions inherited from SCR_BaseCommandAction |
| ResourceName | GetCommandPrefab () |
| |
| bool | StartPlacing (notnull set< SCR_EditableEntityComponent > selectedEntities) |
| |
| override void | Perform (SCR_EditableEntityComponent hoveredEntity, notnull set< SCR_EditableEntityComponent > selectedEntities, vector cursorWorldPosition, int flags, int param=-1) |
| | Perform action.
|
| |
| override void | Track () |
| | Track events which influence the action.
|
| |
| override void | Untrack () |
| | Untrack events which influence the action.
|
| |
| override bool | IsServer () |
| | Should action be sent to server.
|
| |
| ScriptInvoker | GetOnToggleChange () |
| | Get ScriptInvoker called when the action is toggled by some external event.
|
| |
| int | GetCurrentValue () |
| | Current value.
|
| |
| int | GetCurrentHighlight () |
| | Current value.
|
| |
| SCR_UIInfo | GetInfoToggled () |
| |
| void | OnInit (SCR_ActionsToolbarEditorUIComponent toolbar) |
| |
| void | OnExit (SCR_ActionsToolbarEditorUIComponent toolbar) |
| |
| bool | IsEnabled () |
| |
| bool | CanBePerformed (SCR_EditableEntityComponent hoveredEntity, notnull set< SCR_EditableEntityComponent > selectedEntities, vector cursorWorldPosition, int flags) |
| | Determine if action can be performed with passed hovered entity and selected entitites.
|
| |
| void | PerformOwner (SCR_EditableEntityComponent hoveredEntity, notnull set< SCR_EditableEntityComponent > selectedEntities, vector cursorWorldPosition, int flags, int param=-1) |
| |
| SCR_UIInfo | GetInfo () |
| |
| EEditorActionType | GetActionType () |
| |
| EEditorActionGroup | GetActionGroup () |
| |
| string | GetShortcut () |
| | Get action shortcut that triggers this action.
|
| |
| void | SetShortcutRef (string shortcutRef) |
| | Set shortcut reference - it's shown in GUI, but not actually listened to.
|
| |
| int | GetOrder () |
| | Get order of this entity, can be any integer value including negative.
|
| |
| int | GetParam () |
| | Get custom param which can be used to pass extra information to performed action.
|
| |
| array< ref SCR_BaseEditorEffect > | GetEffects () |
| | Get effects tied to the action.
|
| |
| void | AddShortcut (SCR_BaseActionsEditorComponent actionsManager) |
| |
| void | RemoveShortcut () |
| |
| bool | CheckAndSetCooldown () |
| | Check if action is on cooldown and if not set action on cooldown The cooldown will never be set if cooldownTime is equal or less than 0.
|
| |
| bool | IsOnCooldown () |
| | Check if action is on cooldown.
|
| |
| void | ~SCR_BaseEditorAction () |
| |