Show / Hide Table of Contents

Class DoAfterAttemptEvent<TEvent>

This event will optionally get raised every tick while a do-after is in progress to check whether the do-after should be canceled.

Inheritance
System.Object
DoAfterAttemptEvent<TEvent>
Namespace: Content.Shared.DoAfter
Assembly: Content.Shared.dll
Syntax
public sealed class DoAfterAttemptEvent<TEvent> : CancellableEntityEventArgs where TEvent : DoAfterEvent
Type Parameters
Name Description
TEvent

Constructors

| Improve this Doc View Source

DoAfterAttemptEvent(DoAfter, TEvent)

Declaration
public DoAfterAttemptEvent(DoAfter doAfter, TEvent event)
Parameters
Type Name Description
DoAfter doAfter
TEvent event

Fields

| Improve this Doc View Source

DoAfter

The do after that triggered this event.

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

Event

The event that the DoAfter will raise after sucesfully finishing. Given that this event has the data required to perform the interaction, it should also contain the data required to validate/attempt the interaction.

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