Show / Hide Table of Contents

Class RangedInteractEvent

Raised when an entity is interacted with that is out of the user entity's range of direct use.

Inheritance
System.Object
RangedInteractEvent
Namespace: Content.Shared.Interaction
Assembly: Content.Shared.dll
Syntax
public sealed class RangedInteractEvent : HandledEntityEventArgs

Constructors

| Improve this Doc View Source

RangedInteractEvent(EntityUid, EntityUid, EntityUid, EntityCoordinates)

Declaration
public RangedInteractEvent(EntityUid user, EntityUid used, EntityUid target, EntityCoordinates clickLocation)
Parameters
Type Name Description
EntityUid user
EntityUid used
EntityUid target
Robust.Shared.Map.EntityCoordinates clickLocation

Properties

| Improve this Doc View Source

ClickLocation

Location that the user clicked outside of their interaction range.

Declaration
public EntityCoordinates ClickLocation { get; }
Property Value
Type Description
Robust.Shared.Map.EntityCoordinates
| Improve this Doc View Source

TargetUid

Entity that was interacted on.

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

UsedUid

Entity that the user used to interact.

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

UserUid

Entity that triggered the interaction.

Declaration
public EntityUid UserUid { get; }
Property Value
Type Description
EntityUid
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾