Show / Hide Table of Contents

Class DoAfter

Inheritance
System.Object
DoAfter
Namespace: Content.Shared.DoAfter
Assembly: Content.Shared.dll
Syntax
public sealed class DoAfter : object

Constructors

| Improve this Doc View Source

DoAfter(IEntityManager, DoAfter)

Declaration
public DoAfter(IEntityManager entManager, DoAfter other)
Parameters
Type Name Description
IEntityManager entManager
DoAfter other
| Improve this Doc View Source

DoAfter(UInt16, DoAfterArgs, TimeSpan)

Declaration
public DoAfter(ushort index, DoAfterArgs args, TimeSpan startTime)
Parameters
Type Name Description
System.UInt16 index
DoAfterArgs args
TimeSpan startTime

Fields

| Improve this Doc View Source

Args

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

AttemptEvent

Declaration
public object? AttemptEvent
Field Value
Type Description
System.Nullable<System.Object>
| Improve this Doc View Source

CancelledTime

The time at which this do after was canceled

Declaration
public TimeSpan? CancelledTime
Field Value
Type Description
System.Nullable<TimeSpan>
| Improve this Doc View Source

Completed

If true, this do after has finished, passed the final checks, and has raised its events.

Declaration
public bool Completed
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Index

Declaration
public ushort Index
Field Value
Type Description
System.UInt16
| Improve this Doc View Source

InitialHand

If NeedHand is true, this is the hand that was selected when the doafter started.

Declaration
public string? InitialHand
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

InitialItem

If is true, this is the entity that was in the active hand when the doafter started.

Declaration
public EntityUid? InitialItem
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

NetInitialItem

Declaration
public NetEntity? NetInitialItem
Field Value
Type Description
System.Nullable<NetEntity>
| Improve this Doc View Source

NetUserPosition

Declaration
public NetCoordinates NetUserPosition
Field Value
Type Description
Robust.Shared.Map.NetCoordinates
| Improve this Doc View Source

StartTime

Time at which this do after was started.

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

TargetDistance

Distance from the user to the target when the do after was started.

Declaration
public float TargetDistance
Field Value
Type Description
System.Single
| Improve this Doc View Source

UserPosition

Position of the user relative to their parent when the do after was started.

Declaration
public EntityCoordinates UserPosition
Field Value
Type Description
Robust.Shared.Map.EntityCoordinates

Properties

| Improve this Doc View Source

Cancelled

Whether the do after has been canceled.

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

Id

Declaration
public DoAfterId Id { get; }
Property Value
Type Description
Content.Shared.DoAfter.DoAfterId
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾