Class FZagalaSpecScenarioDetailsCustomization#

Inheritance Relationships#

Base Type#

  • public IDetailCustomization

Class Documentation#

class FZagalaSpecScenarioDetailsCustomization : public IDetailCustomization#

Customizes the details view of a scenario:

IDetailCustomization interface

virtual void CustomizeDetails(IDetailLayoutBuilder &DetailBuilder) override#

Public Functions

explicit FZagalaSpecScenarioDetailsCustomization(const TSharedPtr<FZagalaSpecScenarioCheckerRegistry> &InScenarioCheckers)#
Parameters:

InScenarioCheckers – The checkers of the open feature editor; without them the check section is not shown.

Public Static Functions

static TSharedRef<IDetailCustomization> MakeInstance(TSharedPtr<FZagalaSpecScenarioCheckerRegistry> ScenarioCheckers)#

Creates the customization; used as the delegate of IDetailsView::RegisterInstancedCustomPropertyLayout.

Parameters:

ScenarioCheckers – The checkers of the open feature editor.

Returns:

A new customization instance.

static FString ReadCheckResult(const FZagalaSpecScenarioCheckerRegistry *ScenarioCheckers, const UObject *Scenario)#

Reads the result text of the last check of a scenario.

Read every time the text is drawn, because the result arrives when the check finishes.

Parameters:
  • ScenarioCheckers – The checkers of the open feature editor; may be null.

  • Scenario – The scenario.

Returns:

The check result; empty if the scenario was never checked.

static bool IsChecking(const FZagalaSpecScenarioCheckerRegistry *ScenarioCheckers, const UObject *Scenario)#

Whether a check of the scenario is running.

Parameters:
  • ScenarioCheckers – The checkers of the open feature editor; may be null.

  • Scenario – The scenario.

Returns:

True while the scenario is checked.