Class UZagalaSpecStepAssertInventoryCount#

Inheritance Relationships#

Base Type#

Class Documentation#

class UZagalaSpecStepAssertInventoryCount : public UZagalaSpecChainLinkOnStep#

Execution step that asserts the stock count of a named item using two local captures.

Runs UZagalaSpecDSLAssertInventoryItem after storing its capture groups in the cache.

Cache contract (AssignedCacher, forwarded from the owning step): Reads: UZagalaSpecDataInventoryRef — required Writes: UZagalaSpecDataInteger — expected quantity from capture group 0 UZagalaSpecDataItemName — item name from capture group 1

Pattern: ^(?:Then |And )the inventory has (\d+) of "([^"]+)"$ Registered by UZagalaSpecExamplesStepEntryAssertInventoryCount.

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.