Class UZagalaSpecPDWaitForActivation#

Inheritance Relationships#

Base Type#

Class Documentation#

class UZagalaSpecPDWaitForActivation : public UZagalaSpecPDWaitForTicks#

Protocol driver chain link that extends UZagalaSpecPDWaitForTicks and overrides OnTickCheck to poll whether the checkpoint has been activated at least once more than before this wait started.

Broadcasts success as soon as ActivationCount increases, or failure when the tick limit is exhausted.

Cache contract (AssignedCacher, forwarded from the owning step): Reads: UZagalaSpecDataWaitTicks — required UZagalaSpecDataTickLimit — optional UZagalaSpecDataCheckpointRef — required Writes: (none)

Protected Functions

virtual void InternalExecute_Implementation(const TScriptInterface<IZagalaSpecTaggedDataCacher> &AssignedCacher) override#

Native implementation of InternalExecute(); broadcasts a failure unless overridden.

Parameters:

AssignedCacher – The tagged data cache assigned to this link.

virtual EZagalaSpecTickCheckResult OnTickCheck(IZagalaSpecTaggedDataCacher *Cacher, int32 TicksSoFar, FString &OutFailureReason) override#

Called each tick of the play session world while this driver is running.

Override in subclasses to add polling logic.

Parameters:
  • Cacher – The AssignedCacher passed to InternalExecute.

  • TicksSoFar – Number of ticks elapsed since InternalExecute was called.

  • OutFailureReason – Set if returning Fail; left unchanged otherwise.

Returns:

TickCheckResult indicating how to proceed.