Navigation
API > API/Runtime > API/Runtime/NetCore > API/Runtime/NetCore/UStatePerObjectConfig
Description
Uses reflection to load all struct config variables from the specified ini section. NOTE: Reflection does not work with multiple inheritance.
| Name | LoadStructConfig |
| Type | function |
| Header File | /Engine/Source/Runtime/Net/Core/Public/Net/Core/Connection/StateStruct.h |
| Include Path | #include "Net/Core/Connection/StateStruct.h" |
| Source | /Engine/Source/Runtime/Net/Core/Private/Net/Core/Connection/StateStruct.cpp |
static bool LoadStructConfig
(
FStructOnScope & OutStruct,
const TCHAR * SectionName,
const TCHAR * InFilename
)
Whether or not the struct config variables were read successfully
Parameters
| Name | Remarks |
|---|---|
| OutStruct | The struct to load the settings into |
| SectionName | The ini section name containing the struct configuration |
| InFilename | The ini filename to read from |