EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Enum KeybindActivationType

    Specifies when the keybind should trigger: on key press (KeyDown), on key release (KeyUp), or both.

    Namespace: EyeAuras.Scripting.Api
    Assembly: EyeAuras.Scripting.dll
    Syntax
    public enum KeybindActivationType
    Remarks
    • KeyDown: Triggers the associated method when the specified key is pressed down.
    • KeyUp: Triggers the associated method when the specified key is released.
    [Keybind("Ctrl+A", ActivationType = KeybindActivationType.KeyDown)] // Invokes on key press
    public void OnKeyDownAction() { /* logic */ }
    

    [Keybind("Ctrl+A", ActivationType = KeybindActivationType.KeyUp)] // Invokes on key release public void OnKeyUpAction() { /* logic */ }

    Fields

    Name Description
    KeyDown

    Triggers only on KeyDown (when the key is pressed).

    KeyUp

    Triggers only on KeyUp (when the key is released).

    Extension Methods

    ObjectExtensions.AddTo<KeybindActivationType, TCollection>(KeybindActivationType, ISourceList<TCollection>)
    ObjectExtensions.AddTo<KeybindActivationType, TCollection>(KeybindActivationType, ICollection<TCollection>)
    ObjectExtensions.CloneJson<KeybindActivationType>(KeybindActivationType)
    ObjectExtensions.CopyPropertiesTo<KeybindActivationType, TTarget>(KeybindActivationType, TTarget)
    ObjectExtensions.DumpToJson<KeybindActivationType>(KeybindActivationType)
    ObjectExtensions.DumpToTextRaw<KeybindActivationType>(KeybindActivationType)
    ObjectExtensions.DumpToText<KeybindActivationType>(KeybindActivationType)
    ObjectExtensions.Dump<KeybindActivationType>(KeybindActivationType)
    ObjectExtensions.GetPropertyAccessor<KeybindActivationType, TValue>(KeybindActivationType, Expression<Func<KeybindActivationType, TValue>>)
    ObjectExtensions.InsertTo<KeybindActivationType, TCollection>(KeybindActivationType, IList<TCollection>, int)
    ObjectExtensions.ToJson<KeybindActivationType>(KeybindActivationType, Formatting)
    ObjectExtensions.ToStringSafe<KeybindActivationType>(KeybindActivationType)
    ObjectExtensions.TransferPropertiesTo<KeybindActivationType, TTarget>(KeybindActivationType, TTarget, params string[])
    ObjectExtensions.WaitForAsync<KeybindActivationType, T1>(KeybindActivationType, Func<KeybindActivationType, T1>, Predicate<T1>, TimeSpan, int)
    XDocumentExtensions.AddTo<KeybindActivationType>(KeybindActivationType, XContainer)
    2025 © Xab3r. All rights reserved.