Class UZagalaSpecRegexStepEntry#

Inheritance Relationships#

Base Types#

Derived Types#

Class Documentation#

class UZagalaSpecRegexStepEntry : public UObject, public IZagalaSpecStepClassAccessor, public IZagalaSpecRegexIdentity#

Used to define a step with a regex pattern and the class type of the step.

This is useful for steps that require matching text patterns and require additional configuration or setting values via capture groups.

Subclassed by UZagalaSpecExamplesIteratorStepEntry, UZagalaSpecExamplesStepEntryAddFocusedItemAndQty, UZagalaSpecExamplesStepEntryAddItemByAmount, UZagalaSpecExamplesStepEntryAddItemDirectly, UZagalaSpecExamplesStepEntryApplySteering, UZagalaSpecExamplesStepEntryApplyThrottle, UZagalaSpecExamplesStepEntryAssertActivationCount, UZagalaSpecExamplesStepEntryAssertAllClientsOneController, UZagalaSpecExamplesStepEntryAssertDisplacement, UZagalaSpecExamplesStepEntryAssertFocusedQty, UZagalaSpecExamplesStepEntryAssertHeading, UZagalaSpecExamplesStepEntryAssertHoverHeight, UZagalaSpecExamplesStepEntryAssertInventoryCount, UZagalaSpecExamplesStepEntryAssertInventoryCountFromCache, UZagalaSpecExamplesStepEntryAssertServerHasAllPlayerControllers, UZagalaSpecExamplesStepEntryCounterIs, UZagalaSpecExamplesStepEntryEmptyInventory, UZagalaSpecExamplesStepEntryEnsureTestWorld, UZagalaSpecExamplesStepEntryFocusItem, UZagalaSpecExamplesStepEntryFreshCounter, UZagalaSpecExamplesStepEntryIncrementBy, UZagalaSpecExamplesStepEntryInventoryIterator, UZagalaSpecExamplesStepEntryLastOpFailed, UZagalaSpecExamplesStepEntryLaunchTriggerSphereTowardsCheckpoint, UZagalaSpecExamplesStepEntryLoadDefaultStock, UZagalaSpecExamplesStepEntryResetCounter, UZagalaSpecExamplesStepEntryResetTriggerSphere, UZagalaSpecExamplesStepEntrySetTickLimit, UZagalaSpecExamplesStepEntrySpawnCheckpoint, UZagalaSpecExamplesStepEntrySpawnHoverboard, UZagalaSpecExamplesStepEntrySpawnTriggerSphereNearCheckpoint, UZagalaSpecExamplesStepEntryWaitForActivation, UZagalaSpecExamplesStepEntryWaitForClientConnections, UZagalaSpecExamplesStepEntryWaitForHover

IZagalaSpecStepClassAccessor

virtual UClass *GetStepClass_Implementation() const override#

Returns the class of the step.

Returns:

The step class, or nullptr if none is assigned.

IZagalaSpecRegexIdentity

virtual FString GetRegexPattern() const override#

Returns the single regex pattern that identifies this object.

Must be non-empty to be registered.

Returns:

The regex pattern of this object.

Public Functions

UZagalaSpecRegexStepEntry(const FObjectInitializer &ObjectInitializer = FObjectInitializer::Get())#
virtual void PostInitProperties() override#
virtual void PostEditChangeProperty(FPropertyChangedEvent &PropertyChangedEvent) override#
virtual EDataValidationResult IsDataValid(class FDataValidationContext &Context) const override#

Warns when another entry already owns this entry’s pattern in the step registry.

virtual void PreSave(FObjectPreSaveContext ObjectSaveContext) override#

Registers the pattern for this entry’s class default object, replacing the patterns it registered before.

void SetStepClass(TSubclassOf<UObject> InStepClass)#

Sets the step class and resets it to null when it fails step class validation.

Parameters:

InStepClass – The execution step class for this entry.

Public Members

FString Pattern#

Regex pattern identifying this entry; capture groups configure the step via a capture group customizer.

FString Comments#

Optional comments for this step entry.

Useful for allowing better search within the step registry and for providing additional information about this entry.

Protected Attributes

TSubclassOf<UObject> StepClass#

Execution step class mapped to Pattern.