Class UZagalaSpecCEFocusItem#

Inheritance Relationships#

Base Type#

Class Documentation#

class UZagalaSpecCEFocusItem : public UZagalaSpecDefaultExecutionStep#

Context extension step that captures an item name from the step text and stores it as UZagalaSpecDataItemName in the scenario context cache.

This demonstrates the GLOBAL CAPTURE pattern:

No DSL chain link or protocol driver chain link is needed — the step reads capture group 0 in Setup() and broadcasts success directly after caching the name.

Pattern: ^(?:Given |And )?I focus on item "([^"]+)"$ Registered by UZagalaSpecExamplesStepEntryFocusItem.

Public Functions

virtual void Setup_Implementation(FZagalaSpecExecutionStepData StepData) override#

Sets up this execution step before it is executed.

Parameters:

StepData – The execution data (e.g. capture group customizer) used to configure this step.

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.