Class FZagalaSpecScenarioCheckerRegistry#

Inheritance Relationships#

Base Type#

  • public FGCObject

Class Documentation#

class FZagalaSpecScenarioCheckerRegistry : public FGCObject#

The scenario checkers of one feature editor, one per scenario.

Keeps the checkers alive (and so their results) while the editor is open, even when the details panel is rebuilt. Running checks are cancelled when the registry is destroyed, so no scenario stays locked after its editor closes.

FGCObject interface

virtual void AddReferencedObjects(FReferenceCollector &Collector) override#
virtual FString GetReferencerName() const override#

Public Functions

virtual ~FZagalaSpecScenarioCheckerRegistry() override#

Cancels the checks that are still running.

UZagalaSpecScenarioChecker *GetOrCreate(UObject *Scenario)#

Returns the checker of a scenario, creating it the first time.

Parameters:

Scenario – The scenario.

Returns:

The checker of the scenario; null if the scenario is null.

UZagalaSpecScenarioChecker *Find(const UObject *Scenario) const#

Returns the checker of a scenario if it was created.

Parameters:

Scenario – The scenario.

Returns:

The checker of the scenario; null if the scenario was never checked.