Class UZagalaSpecDataInteger#

Inheritance Relationships#

Base Types#

Derived Types#

Class Documentation#

class UZagalaSpecDataInteger : public UZagalaSpecTaggedData, public IZagalaSpecValueStore#

Base tagged data holding a generic integer value.

Subclass this for tagged data that carries an int32 payload.

DataTag: ZagalaSpec.DSL.Data.Toolkit.Integer

Subclassed by UZagalaSpecDataCounterAmount, UZagalaSpecDataCounterExpected, UZagalaSpecDataCounterValue, UZagalaSpecDataTickLimit, UZagalaSpecDataWaitTicks

IZagalaSpecValueStore interface

inline 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

int32 Value = 0#

Stored integer value.

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.

Friends

inline friend bool operator==(UZagalaSpecDataInteger const &lhs, UZagalaSpecDataInteger const &rhs)#

Compares the stored values for equality.