Class KeyPressNode
Represents a KeyPress action in the behavior tree. This node is used to simulate a key press event.
Inheritance
KeyPressNode
Implements
Inherited Members
Namespace: EyeAuras.Roxy.Nodes.KeyPress
Assembly: EyeAuras.Roxy.dll
Syntax
[AuraEntity(Name = "Key Press")]
public sealed class KeyPressNode : SendInputNode<KeyPressActionNodeProperties>, INode<KeyPressActionNodeProperties>, IAuraObject<KeyPressActionNodeProperties>, IEntityContainer, IActionNode, INode, IAuraObject, IBindableReactiveObject, ICanSetContext, IHasContext, IBTNode, IHasId, IHasTypedId<string>, IHasErrors, IDisposable, INotifyPropertyChanged, IHasError, IHasErrorProvider, IBehaviorTreeSerializable, ICanSetName, IHasName
Remarks
This node requires the dependencies of ISendInputController and IHotkeyConverter to be set up. The key press action is described by a string attribute 'key', which can be set directly or obtained from the behavior tree's Blackboard.
Constructors
| Name | Description |
|---|---|
| KeyPressNode() |
Properties
| Name | Description |
|---|---|
| Hotkey | |
| HotkeyConverter | |
| InputEvent | |
| KeyPressDelay |
Methods
| Name | Description |
|---|---|
| TickInternal(CancellationToken) | This abstract method defines the main logic of the node and must be implemented in child classes. |
| VisitLoad(KeyPressActionNodeProperties) | |
| VisitSave(KeyPressActionNodeProperties) |