๐๏ธ Functional Structures Overview
Short Description
Functional Structures provide a standardized base for data-driven logic containers with unique identification and editor lifecycle hooks.
Long Description
Functional Structures (FGorgeousFunctionalStructure_S) are designed for cases where you need more than just a data struct, but don't quite need a full UObject. They provide a unique identifier, support for metadata tags, and specific hooks that trigger when the structure is edited or instantiated. They are commonly used for modular data definitions that need to be tracked and identified across the system.
๐ Features
- Unique Identification: Every structure can be uniquely identified by a
FGorgeousIdentifier. - Editor Integration: Hooks for handling changes directly in the Unreal Editor.
- Serialization Ready: Built-in support for binary and JSON serialization.
- Metadata Tags: Categorize and filter structures using standard Gameplay Tags.
๐ Example Definition
USTRUCT(BlueprintType)
struct FMyFunctionalData : public FGorgeousFunctionalStructure_S
{
GENERATED_BODY()
UPROPERTY(EditAnywhere, BlueprintReadWrite)
float MyValue = 10.0f;
};