Show / Hide Table of Contents

Class WorldTargetActionEvent

This is the type of event that gets raised when an is performed. The and Target fields will automatically be filled out by the SharedActionsSystem.

Inheritance
System.Object
BaseActionEvent
WorldTargetActionEvent
PlaceDecalActionEvent
ProjectileSpellEvent
TeleportSpellEvent
WorldSpawnSpellEvent
DashEvent
Namespace: Content.Shared.Actions
Assembly: Content.Shared.dll
Syntax
public abstract class WorldTargetActionEvent : BaseActionEvent
Remarks

To define a new action for some system, you need to create an event that inherits from this class.

Fields

| Improve this Doc View Source

Target

The coordinates of the location that the user targeted.

Declaration
public EntityCoordinates Target
Field Value
Type Description
Robust.Shared.Map.EntityCoordinates
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾