Namespace EyeAuras.Scripting.Api
Classes
AuraScriptSandbox
Provides a specialized scripting sandbox for Aura scripts, extending the base ScriptSandbox with Aura-specific functionality.
KeybindAttribute
Specifies that a method should be invoked when a specific hotkey is pressed.
ScriptContainerExtension
Base class for script-level Unity container extensions used in Aura scripting.
ScriptSandbox
Scripts are running using this class as "globals" provider, i.e. any property or method of this class are considered as "native" methods of the script
ScriptingApiBase
Interfaces
IAuraAccessor
Represents an accessor for an aura, encapsulating the ability to interact with and manipulate various properties and collections associated with the aura. Provides access to the aura's identifiers, state, and actions, as well as its hierarchical structure through overlays and triggers.
IAuraScriptSandbox
IAuraTreeScriptingApi
Provides methods for interacting with the aura tree, including finding and retrieving auras, folders, and behavior trees. It supports operations to both safely find elements (returning null if not found) and directly retrieve elements (throwing exceptions if not found), accommodating scenarios that require precise control over error handling. The interface enables accessing collections of all managed auras, folders, and behavior trees, as well as fetching specific triggers and actions associated with auras by path. This facilitates dynamic and scriptable interactions with the application's hierarchical structure, ideal for scenarios requiring runtime navigation and manipulation of the aura tree.
IAuraTreeUnstableScriptingApi
Provides an unstable API for scripting interactions with aura trees. This API is subject to change and operates within a specific aura and folder context that may evolve over the API's lifecycle.
IBehaviorTreeAccessor
IFolderAccessor
IMacroAccessor
IScriptSandbox
IScriptingApi
IScriptingApiContext
IVariablesScriptingApi
Defines an API for scripting interactions that involve accessing and manipulating variables within a scriptable environment. This interface extends the basic variable access capabilities with script-focused functionalities, allowing for strongly-typed variable interactions.
Enums
KeybindActivationType
Specifies when the keybind should trigger: on key press (KeyDown), on key release (KeyUp), or both.