Class UZagalaSpecStepAssertFocusedQty#
Defined in File ZagalaSpecStepAssertFocusedQty.h
Inheritance Relationships#
Base Type#
public UZagalaSpecChainLinkOnStep(Class UZagalaSpecChainLinkOnStep)
Class Documentation#
-
class UZagalaSpecStepAssertFocusedQty : public UZagalaSpecChainLinkOnStep#
Execution step that asserts the inventory count using both the focused item and focused quantity — BOTH from the scenario context cache.
Runs UZagalaSpecDSLAssertInventoryItem without capturing anything from the step text.
Cache contract (AssignedCacher, forwarded from the owning step): Reads: UZagalaSpecDataInventoryRef — required UZagalaSpecDataItemName — required UZagalaSpecDataInteger — required (expected quantity) Writes: (none)
Pattern:
^(?:Then |And )the inventory has the focused quantity of that item$Registered by UZagalaSpecExamplesStepEntryAssertFocusedQty.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 void InternalExecute_Implementation(const TScriptInterface<IZagalaSpecTaggedDataCacher> &AssignedCacher) override#