Class UZagalaSpecDataCounterOpResult#

Inheritance Relationships#

Base Type#

Class Documentation#

class UZagalaSpecDataCounterOpResult : public UZagalaSpecTaggedData#

Tagged data carrying the outcome of the most recent counter operation.

Written into the scenario context cache by UZagalaSpecPDIncrementCounter (run by UZagalaSpecStepIncrementBy) so that UZagalaSpecStepLastOpFailed can inspect it in a later step.

DataTag: ZagalaSpec.DSL.Data.Examples.Counter.OpResult

Public Members

bool bSuccess = true#

True if the last counter operation succeeded; false if it was rejected (e.g.

negative increment).

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.