Class UZagalaSpecCELoadDefaultStock#

Inheritance Relationships#

Base Type#

Class Documentation#

class UZagalaSpecCELoadDefaultStock : public UZagalaSpecDefaultExecutionStep#

Context extension step that adds a hardcoded default stock to the inventory.

Default stock: Arrow×5, Sword×1.

Intended to run after UZagalaSpecCEEmptyInventory, which provides the inventory reference this step reads.

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

Pattern: ^(?:Given |And )?the default stock is loaded$ Registered by UZagalaSpecExamplesStepEntryLoadDefaultStock.

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.