Class UZagalaSpecStepAddFocusedItemAndQty#

Inheritance Relationships#

Base Type#

Class Documentation#

class UZagalaSpecStepAddFocusedItemAndQty : public UZagalaSpecChainLinkOnStep#

Execution step that adds the item and quantity stored in the scenario context cache.

Runs a UZagalaSpecDefaultExecutionChainer containing UZagalaSpecDSLAddItem. Used in the iterator scenario where both values are pre-loaded by the iterator extension.

Cache contract (AssignedCacher, forwarded from the owning step): Reads: UZagalaSpecDataInventoryRef — required UZagalaSpecDataItemName — required UZagalaSpecDataInteger — required (quantity) Writes: (none)

Pattern: ^(?:When |And )I add the focused item and quantity$ Registered by UZagalaSpecExamplesStepEntryAddFocusedItemAndQty.

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.