Skip to content

Sein Latent Action

Class · USeinLatentAction : UObject

#include "Abilities/SeinLatentAction.h"

abstract: use a subclass

Base class for latent (multi-tick) ability nodes. Latent actions run cooperatively on the sim thread — no OS threads involved. Subclass and override TickAction to implement custom multi-frame behavior.

C++ members (9)
  • int64 GetActionID() const; Stable world-global identity assigned exactly once by the manager.
  • int64 GetAbilityActivationID() const; Activation generation captured when this action entered manager order.
  • bool TickAction(FFixedPoint DeltaTime, USeinWorldSubsystem& World); Called each sim tick while the action is active.
  • void OnCancel(); Called when the action is cancelled externally (e.g., ability cancelled)
  • void OnFail(uint8 ); Called when the action fails. Override to notify observers.
  • void OnTimelineAbandoned(); Silent teardown for an abandoned timeline (restore/module unload). This is native-only and must not broadcast terminal gameplay delegates.
  • void Complete(); Mark this action as completed
  • void Cancel(); Mark this action as cancelled
  • void Fail(uint8 ReasonCode); Mark this action as failed. Sets bFailed + bCompleted and calls OnFail().