Show / Hide Table of Contents

Class EntityTargetActionEvent

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
EntityTargetActionEvent
DevourActionEvent
DragonDevourActionEvent
ChangeComponentsSpellEvent
SmiteSpellEvent
StethoscopeActionEvent
Namespace: Content.Shared.Actions
Assembly: Content.Shared.dll
Syntax
public abstract class EntityTargetActionEvent : 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 entity that the user targeted.

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