Class UZagalaSpecStepAddItemDirectly#
Defined in File ZagalaSpecStepAddItemDirectly.h
Inheritance Relationships#
Base Type#
public UZagalaSpecChainLinkOnStep(Class UZagalaSpecChainLinkOnStep)
Class Documentation#
-
class UZagalaSpecStepAddItemDirectly : public UZagalaSpecChainLinkOnStep#
Execution step that adds a quantity of a named item to the inventory using two local captures.
Runs UZagalaSpecDSLAddItem after storing its capture groups in the cache.
Cache contract (AssignedCacher, forwarded from the owning step): Reads: UZagalaSpecDataInventoryRef — required Writes: UZagalaSpecDataInteger — quantity from capture group 0 UZagalaSpecDataItemName — item name from capture group 1
Pattern:
^(?:When |And )I add (\d+) of "([^"]+)" directly$Registered by UZagalaSpecExamplesStepEntryAddItemDirectly.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#