Config Forge 1.0.0
Loading...
Searching...
No Matches
UConfigForgeLibrary Class Reference

Blueprint function library for ConfigForge operations. More...

#include <ConfigForgeLibrary.h>

Inheritance diagram for UConfigForgeLibrary:

Public Member Functions

 UFUNCTION (BlueprintCallable, Category="ConfigForge", DisplayName="Get Config Forge File (Static Lib)", meta=(WorldContext="WorldContextObject")) static bool GetConfigForgeFile(const UObject *WorldContextObject
 Retrieves a specific configuration file by name using world context.
 

Static Public Member Functions

static FGuid GetForgeFileID (const FConfigForgeFileData &InData)
 Retrieves the unique GUID identifier from a ConfigForge file data structure.
 
static FDynamicValue MakeDynamicValue_Int (int32 InValue)
 Creates a dynamic value wrapper containing a 32-bit signed integer.
 
static FDynamicValue MakeDynamicValue_Float (float InValue)
 Creates a dynamic value wrapper containing a single-precision floating point number.
 
static FDynamicValue MakeDynamicValue_Double (double InValue)
 Creates a dynamic value wrapper containing a double-precision floating point number.
 
static FDynamicValue MakeDynamicValue_Bool (bool InValue)
 Creates a dynamic value wrapper containing a boolean value.
 
static FDynamicValue MakeDynamicValue_Byte (uint8 InValue)
 Creates a dynamic value wrapper containing an unsigned 8-bit integer (byte).
 
static FDynamicValue MakeDynamicValue_Int64 (int64 InValue)
 Creates a dynamic value wrapper containing a 64-bit signed integer.
 
static FDynamicValue MakeDynamicValue_String (const FString &InValue)
 Creates a dynamic value wrapper containing a string.
 
static void ParseDynamicValue_Int (const FDynamicValue &InDynamicValue, int32 &OutInt, bool &bSuccess)
 Attempts to extract a 32-bit signed integer from a dynamic value.
 
static void ParseDynamicValue_Float (const FDynamicValue &InDynamicValue, float &OutFloat, bool &bSuccess)
 Attempts to extract a single-precision floating point number from a dynamic value.
 
static void ParseDynamicValue_Double (const FDynamicValue &InDynamicValue, double &OutDouble, bool &bSuccess)
 Attempts to extract a double-precision floating point number from a dynamic value.
 
static void ParseDynamicValue_Bool (const FDynamicValue &InDynamicValue, bool &OutBool, bool &bSuccess)
 Attempts to extract a boolean value from a dynamic value.
 
static void ParseDynamicValue_Byte (const FDynamicValue &InDynamicValue, uint8 &OutByte, bool &bSuccess)
 Attempts to extract an unsigned 8-bit integer (byte) from a dynamic value.
 
static void ParseDynamicValue_Int64 (const FDynamicValue &InDynamicValue, int64 &OutInt64, bool &bSuccess)
 Attempts to extract a 64-bit signed integer from a dynamic value.
 
static void ParseDynamicValue_String (const FDynamicValue &InDynamicValue, FString &OutString, bool &bSuccess)
 Attempts to extract a string from a dynamic value.
 

Public Attributes

const FString & InFileName
 
const FString FConfigForgeFileDataOutFileData
 

Detailed Description

Blueprint function library for ConfigForge operations.

Note
Used in K2 nodes

Member Function Documentation

◆ GetForgeFileID()

FGuid UConfigForgeLibrary::GetForgeFileID ( const FConfigForgeFileData & InData)
static

Retrieves the unique GUID identifier from a ConfigForge file data structure.

Parameters
InDataThe ConfigForge file data structure to extract the GUID from.
Returns
FGuid The unique identifier for the ConfigForge file.

◆ MakeDynamicValue_Bool()

FDynamicValue UConfigForgeLibrary::MakeDynamicValue_Bool ( bool InValue)
static

Creates a dynamic value wrapper containing a boolean value.

Parameters
InValueThe boolean value to wrap.
Returns
FDynamicValue A dynamic value containing the boolean.

◆ MakeDynamicValue_Byte()

FDynamicValue UConfigForgeLibrary::MakeDynamicValue_Byte ( uint8 InValue)
static

Creates a dynamic value wrapper containing an unsigned 8-bit integer (byte).

Parameters
InValueThe byte value to wrap.
Returns
FDynamicValue A dynamic value containing the byte.

◆ MakeDynamicValue_Double()

FDynamicValue UConfigForgeLibrary::MakeDynamicValue_Double ( double InValue)
static

Creates a dynamic value wrapper containing a double-precision floating point number.

Parameters
InValueThe double value to wrap.
Returns
FDynamicValue A dynamic value containing the double.

◆ MakeDynamicValue_Float()

FDynamicValue UConfigForgeLibrary::MakeDynamicValue_Float ( float InValue)
static

Creates a dynamic value wrapper containing a single-precision floating point number.

Parameters
InValueThe float value to wrap.
Returns
FDynamicValue A dynamic value containing the float.

◆ MakeDynamicValue_Int()

FDynamicValue UConfigForgeLibrary::MakeDynamicValue_Int ( int32 InValue)
static

Creates a dynamic value wrapper containing a 32-bit signed integer.

Parameters
InValueThe integer value to wrap.
Returns
FDynamicValue A dynamic value containing the integer.

◆ MakeDynamicValue_Int64()

FDynamicValue UConfigForgeLibrary::MakeDynamicValue_Int64 ( int64 InValue)
static

Creates a dynamic value wrapper containing a 64-bit signed integer.

Parameters
InValueThe 64-bit integer value to wrap.
Returns
FDynamicValue A dynamic value containing the int64.

◆ MakeDynamicValue_String()

FDynamicValue UConfigForgeLibrary::MakeDynamicValue_String ( const FString & InValue)
static

Creates a dynamic value wrapper containing a string.

Parameters
InValueThe string value to wrap.
Returns
FDynamicValue A dynamic value containing the string.

◆ ParseDynamicValue_Bool()

void UConfigForgeLibrary::ParseDynamicValue_Bool ( const FDynamicValue & InDynamicValue,
bool & OutBool,
bool & bSuccess )
static

Attempts to extract a boolean value from a dynamic value.

Parameters
InDynamicValueThe dynamic value to parse.
OutBool[out] The extracted boolean value if successful.
bSuccess[out] True if the value was successfully extracted, false otherwise.

◆ ParseDynamicValue_Byte()

void UConfigForgeLibrary::ParseDynamicValue_Byte ( const FDynamicValue & InDynamicValue,
uint8 & OutByte,
bool & bSuccess )
static

Attempts to extract an unsigned 8-bit integer (byte) from a dynamic value.

Parameters
InDynamicValueThe dynamic value to parse.
OutByte[out] The extracted byte value if successful.
bSuccess[out] True if the value was successfully extracted, false otherwise.

◆ ParseDynamicValue_Double()

void UConfigForgeLibrary::ParseDynamicValue_Double ( const FDynamicValue & InDynamicValue,
double & OutDouble,
bool & bSuccess )
static

Attempts to extract a double-precision floating point number from a dynamic value.

Parameters
InDynamicValueThe dynamic value to parse.
OutDouble[out] The extracted double value if successful.
bSuccess[out] True if the value was successfully extracted, false otherwise.

◆ ParseDynamicValue_Float()

void UConfigForgeLibrary::ParseDynamicValue_Float ( const FDynamicValue & InDynamicValue,
float & OutFloat,
bool & bSuccess )
static

Attempts to extract a single-precision floating point number from a dynamic value.

Parameters
InDynamicValueThe dynamic value to parse.
OutFloat[out] The extracted float value if successful.
bSuccess[out] True if the value was successfully extracted, false otherwise.

◆ ParseDynamicValue_Int()

void UConfigForgeLibrary::ParseDynamicValue_Int ( const FDynamicValue & InDynamicValue,
int32 & OutInt,
bool & bSuccess )
static

Attempts to extract a 32-bit signed integer from a dynamic value.

Parameters
InDynamicValueThe dynamic value to parse.
OutInt[out] The extracted integer value if successful.
bSuccess[out] True if the value was successfully extracted, false otherwise.

◆ ParseDynamicValue_Int64()

void UConfigForgeLibrary::ParseDynamicValue_Int64 ( const FDynamicValue & InDynamicValue,
int64 & OutInt64,
bool & bSuccess )
static

Attempts to extract a 64-bit signed integer from a dynamic value.

Parameters
InDynamicValueThe dynamic value to parse.
OutInt64[out] The extracted int64 value if successful.
bSuccess[out] True if the value was successfully extracted, false otherwise.

◆ ParseDynamicValue_String()

void UConfigForgeLibrary::ParseDynamicValue_String ( const FDynamicValue & InDynamicValue,
FString & OutString,
bool & bSuccess )
static

Attempts to extract a string from a dynamic value.

Parameters
InDynamicValueThe dynamic value to parse.
OutString[out] The extracted string value if successful.
bSuccess[out] True if the value was successfully extracted, false otherwise.

◆ UFUNCTION()

UConfigForgeLibrary::UFUNCTION ( BlueprintCallable ,
Category = "ConfigForge",
DisplayName = "Get Config Forge File (Static Lib)",
meta = (WorldContext="WorldContextObject") ) const

Retrieves a specific configuration file by name using world context.

Parameters
WorldContextObjectObject to get world context from.
InFileNameThe name of the file to search for (must match exactly).
OutFileData[out] The file data structure to populate if found.
Returns
bool True if the file was found, false otherwise.

The documentation for this class was generated from the following files: