Show / Hide Table of Contents

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
ITargetedInteractEventArgs
Namespace: Content.Shared.Interaction
Assembly: Content.Shared.dll
Syntax
public sealed class InteractHandEvent : HandledEntityEventArgs, ITargetedInteractEventArgs

Constructors

| Improve this Doc View Source

InteractHandEvent(EntityUid, EntityUid)

Declaration
public InteractHandEvent(EntityUid user, EntityUid target)
Parameters
Type Name Description
EntityUid user
EntityUid target

Properties

| Improve this Doc View Source

Target

Entity that was interacted on.

Declaration
public EntityUid Target { get; }
Property Value
Type Description
EntityUid
| Improve this Doc View Source

User

Entity that triggered the interaction.

Declaration
public EntityUid User { get; }
Property Value
Type Description
EntityUid

Implements

ITargetedInteractEventArgs
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾