Class UZagalaSpecDataFloat#

Inheritance Relationships#

Base Types#

Derived Types#

Class Documentation#

class UZagalaSpecDataFloat : public UZagalaSpecTaggedData, public IZagalaSpecValueStore#

Base tagged data holding a generic Float value.

Subclass this for tagged data that carries a float payload.

DataTag: ZagalaSpec.DSL.Data.Toolkit.Float

Subclassed by UZagalaSpecDataExpectedMaxHeight, UZagalaSpecDataExpectedMinHeight, UZagalaSpecDataExpectedRelativeDisplacement, UZagalaSpecDataExpectedRelativeHeading

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

float Value = 0.0f#

The stored float 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==(UZagalaSpecDataFloat const &lhs, UZagalaSpecDataFloat const &rhs)#

Compares the stored float values for exact equality.