Start the process of standardizing the formatting of documentation inside our header files.
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
////////////////////////////////////////////////////////////
|
||||
//
|
||||
// FormatDataLibrary: Functions that convert data into FFormatArgumentData
|
||||
// structs, so that the data can be passed to FText::Format.
|
||||
// FormatDataLibrary.h
|
||||
//
|
||||
// Functions that convert data into
|
||||
// FFormatArgumentData structs, so that the data
|
||||
// can be passed to FText::Format.
|
||||
//
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -18,17 +23,18 @@ class UlxLuaValues;
|
||||
struct FlxAnimationStep;
|
||||
struct FlxMovementComponentState;
|
||||
|
||||
/*
|
||||
* A library that contains functions that convert data into FFormatArgumentData
|
||||
* structs, so that the data can be passed to FTextFormatter::Format.
|
||||
*
|
||||
* The FormatLogMessage K2Node scans this library using reflection,
|
||||
* looking for functions that have a parameter named "AutoConvertedValue".
|
||||
* It uses the type of that parameter to determine which function to
|
||||
* call for a given pin type. Functions without an "AutoConvertedValue"
|
||||
* parameter are ignored by the reflection scan.
|
||||
*
|
||||
*/
|
||||
////////////////////////////////////////////////////////////
|
||||
//
|
||||
// UlxFormatDataLibrary
|
||||
//
|
||||
// The FormatLogMessage K2Node scans this library using
|
||||
// reflection, looking for functions that have a parameter
|
||||
// named "AutoConvertedValue". It uses the type of that
|
||||
// parameter to determine which function to call for a given
|
||||
// pin type.
|
||||
//
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
UCLASS(MinimalAPI)
|
||||
class UlxFormatDataLibrary : public UBlueprintFunctionLibrary
|
||||
{
|
||||
@@ -92,12 +98,12 @@ public:
|
||||
UFUNCTION(BlueprintPure, meta = (BlueprintInternalUseOnly = "true"), Category = "Luprex|Utility")
|
||||
static FFormatArgumentData FormatArgumentDataMovementComponentState(const FlxMovementComponentState &AutoConvertedValue, const FString &Name);
|
||||
|
||||
// A formatting routine for pins that were never connected.
|
||||
// For pins that were never connected.
|
||||
//
|
||||
UFUNCTION(BlueprintPure, meta = (BlueprintInternalUseOnly = "true"), Category = "Luprex|Utility")
|
||||
static FFormatArgumentData FormatArgumentDataBlank(const FString &Name);
|
||||
|
||||
// A specialized formatting routine for pins of enum types.
|
||||
// For pins of enum types.
|
||||
//
|
||||
UFUNCTION(BlueprintPure, meta = (BlueprintInternalUseOnly = "true"), Category = "Luprex|Utility")
|
||||
static FFormatArgumentData FormatArgumentDataEnum(uint8 Value, const FString &Name, const UObject *PinSubCategoryObject);
|
||||
|
||||
Reference in New Issue
Block a user