Class DoAfterEvent
Base type for events that get raised when a do-after is canceled or finished.
Inheritance
System.Object
DoAfterEvent
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
Field Value
|
Improve this Doc
View Source
Repeat
If set to true while handling this event, then the DoAfter will automatically be repeated.
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Properties
|
Improve this Doc
View Source
Args
Declaration
public DoAfterArgs Args { get; }
Property Value
|
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