Class UZagalaSpecDataItemName#

Inheritance Relationships#

Base Types#

Class Documentation#

class UZagalaSpecDataItemName : public UZagalaSpecTaggedData, public IZagalaSpecValueStore#

Tagged data carrying the name of the inventory item currently under test.

This is the GLOBAL CAPTURE tagged data for the Inventory feature: UZagalaSpecCEFocusItem writes it into the scenario context cache from a regex capture group, and subsequent execution steps (e.g. UZagalaSpecStepAddItemByAmount) read it from there without re-capturing it in their own regex patterns.

DataTag: ZagalaSpec.DSL.Data.Examples.Inventory.ItemName

Public Functions

virtual void StoreValue_Implementation(const FString &ValueToStore) override#

Stores a string value, converting it into this tagged data object’s value representation.

Parameters:

ValueToStore – The string value to store.

Public Members

FString ItemName#

Name of the inventory item under test.

Protected Functions

virtual FGameplayTag GetLoadTag() const override#

Method used in derived classes to set the gameplay tag that instances will keep as the class default Data tag.

Returns:

The default data tag; the base implementation returns an empty tag.