Class IZagalaSpecStepDefinitionBeautifier#
Defined in File ZagalaSpecStepDefinitionBeautifier.h
Inheritance Relationships#
Derived Type#
public UZagalaSpecDefaultStepDefinitionBeautifier(Class UZagalaSpecDefaultStepDefinitionBeautifier)
Class Documentation#
-
class IZagalaSpecStepDefinitionBeautifier#
Turns the definition of a step (its text, or its class name for native steps) into the text the feature editor shows.
Projects pick their beautifier in the ZagalaSpec editor settings, so steps that follow another naming convention read well. It only changes what the editor shows; exporters and step matching keep the original definition. Implement it in an editor module or editor plugin, in C++ or in Blueprint.
Subclassed by UZagalaSpecDefaultStepDefinitionBeautifier
Public Functions
-
FString BeautifyStepDefinition(const FString &Definition, const UObject *Step) const#
Returns the text to show for a step definition.
Only definitions without whitespace are passed in; text such as “Given a user” is shown as it is.
- Parameters:
Definition – The definition of the step, for example “ZagalaSpecStepAddItem”.
Step – The step the definition belongs to; may be null.
- Returns:
The text to show.
-
FString BeautifyStepDefinition(const FString &Definition, const UObject *Step) const#