Search Results for

    Show / Hide Table of Contents

    Class InteractionHandlerAttribute

    Registers a method as interaction handler for the interactor. The method must have the correct signature:

    1. Accepts a interactable object as the only argument
    2. Does not have a return type
    3. Method must be private If mutiple handlers are registered for the same interactable object, only the last one will be considered.
    Inheritance
    object
    Attribute
    InteractionHandlerAttribute
    Implements
    _Attribute
    Inherited Members
    Attribute.Equals(object)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, bool)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, bool)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, bool)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, bool)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, bool)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, bool)
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, bool)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, bool)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
    Attribute.GetHashCode()
    Attribute.IsDefaultAttribute()
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, bool)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, bool)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, bool)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, bool)
    Attribute.Match(object)
    Attribute.TypeId
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: LobsterFramework.Interaction
    Assembly: LobsterFramework.dll
    Syntax
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
    public class InteractionHandlerAttribute : Attribute, _Attribute

    Constructors

    | Improve this Doc View Source

    InteractionHandlerAttribute(Type, InteractionType)

    Declaration
    public InteractionHandlerAttribute(Type interactable, InteractionType interactionType)
    Parameters
    Type Name Description
    Type interactable
    InteractionType interactionType

    Fields

    | Improve this Doc View Source

    interactableType

    Declaration
    public Type interactableType
    Field Value
    Type Description
    Type
    | Improve this Doc View Source

    interactionType

    Declaration
    public InteractionType interactionType
    Field Value
    Type Description
    InteractionType

    Implements

    _Attribute
    • Improve this Doc
    • View Source
    In This Article
    Back to top LobsterFramework documentation