Show / Hide Table of Contents

Class DoAfterEvent

Base type for events that get raised when a do-after is canceled or finished.

Inheritance
System.Object
DoAfterEvent
SharedAccessOverriderSystem.AccessOverriderDoAfterEvent
ConstructionInteractDoAfterEvent
SimpleDoAfterEvent
AbsorbantDoAfterEvent
ForensicPadDoAfterEvent
ConsumeDoAfterEvent
VapeDoAfterEvent
GeneratorStartedEvent
RCDDoAfterEvent
SprayPainterDoAfterEvent
AreaPickupDoAfterEvent
SharedToolSystem.LatticeCuttingCompleteEvent
SharedToolSystem.TilePryingDoAfterEvent
SharedToolSystem.ToolDoAfterEvent
WireDoAfterEvent
Namespace: Content.Shared.DoAfter
Assembly: Content.Shared.dll
Syntax
public abstract class DoAfterEvent : HandledEntityEventArgs

Fields

| Improve this Doc View Source

DoAfter

The do after that triggered this event. This will be set by the do after system before the event is raised.

Declaration
public DoAfter DoAfter
Field Value
Type Description
DoAfter
| Improve this Doc View Source

Repeat

If set to true while handling this event, then the DoAfter will automatically be repeated.

Declaration
public bool Repeat
Field Value
Type Description
System.Boolean

Properties

| Improve this Doc View Source

Args

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

Cancelled

Declaration
public bool Cancelled { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Target

Declaration
public EntityUid? Target { get; }
Property Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

Used

Declaration
public EntityUid? Used { get; }
Property Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

User

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

Methods

| Improve this Doc View Source

Clone()

Duplicate the current event. This is used by state handling, and should copy by value unless the reference types are immutable.

Declaration
public abstract DoAfterEvent Clone()
Returns
Type Description
DoAfterEvent
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾