Navigation
API > API/Plugins > API/Plugins/OnlineServicesCommon > API/Plugins/OnlineServicesCommon/Online > API/Plugins/OnlineServicesCommon/Online/UE__Online__LoadConfig
References
| Module | OnlineServicesCommon |
| Header | /Engine/Plugins/Online/OnlineServices/Source/OnlineServicesCommon/Public/Online/OnlineConfig.h |
| Include | #include "Online/OnlineConfig.h" |
namespace UE
{
namespace Online
{
template<typename T>
auto UE&58;&58;Online&58;&58;LoadConfig
&40;
IOnlineConfigProvider & Provider,
const FString & Section,
T & Value
&41;
}
}
Remarks
Populate a struct from a config provider. Loads each field in the struct by matching field names with keys in the config section. Requires that the type metadata is specified for StructType true if any values were loaded
Parameters
| Name | Description |
|---|---|
| Provider | The config provider |
| Section | The section of the config to load the values from |
| Value | The struct whose fields will be loaded from config |