Class UZagalaSpecStepAddItemByAmount#

Inheritance Relationships#

Base Type#

Class Documentation#

class UZagalaSpecStepAddItemByAmount : public UZagalaSpecChainLinkOnStep#

Execution step that adds a locally-captured quantity of the GLOBALLY captured item to the inventory.

Runs UZagalaSpecDSLAddItem after storing its capture group in the cache.

Cache contract (AssignedCacher, forwarded from the owning step): Reads: UZagalaSpecDataInventoryRef — required UZagalaSpecDataItemName — required (set by UZagalaSpecCEFocusItem) Writes: UZagalaSpecDataInteger — quantity from capture group 0

Pattern: ^(?:When |And )I add (\d+) of that item$ Registered by UZagalaSpecExamplesStepEntryAddItemByAmount.

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.