Class InteractHandEvent
Raised directed on a target entity when it is interacted with by a user with an empty hand.
Inheritance
System.Object
InteractHandEvent
Implements
Namespace: Content.Shared.Interaction
Assembly: Content.Shared.dll
Syntax
public sealed class InteractHandEvent : HandledEntityEventArgs, ITargetedInteractEventArgs
Constructors
| Improve this Doc View SourceInteractHandEvent(EntityUid, EntityUid)
Declaration
public InteractHandEvent(EntityUid user, EntityUid target)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | user | |
EntityUid | target |
Properties
| Improve this Doc View SourceTarget
Entity that was interacted on.
Declaration
public EntityUid Target { get; }
Property Value
Type | Description |
---|---|
EntityUid |
User
Entity that triggered the interaction.
Declaration
public EntityUid User { get; }
Property Value
Type | Description |
---|---|
EntityUid |