Navigation
API > API/Plugins > API/Plugins/OnlineServicesCommon
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
std::enable_if_t< TModels_V< Meta::COnlineMetadataAvailable, T >, bool > UE::Online::LoadConfig
(
IOnlineConfigProvider& Provider, |
Populate a struct from a config provider. | Online/OnlineConfig.h | |
std::enable_if_t< TModels_V< Meta::COnlineMetadataAvailable, T >, bool > UE::Online::LoadConfig
(
IOnlineConfigProvider& Provider, |
Populate a struct from a config provider. | Online/OnlineConfig.h | |
std::enable_if_t< TModels_V< Meta::COnlineMetadataAvailable, T >, bool > UE::Online::LoadConfig
(
IOnlineConfigProvider& Provider, |
Populate a struct from a config provider. | Online/OnlineConfig.h | |
std::enable_if_t< TModels_V< Meta::COnlineMetadataAvailable, T >, bool > UE::Online::LoadConfig
(
IOnlineConfigProvider& Provider, |
Populate a struct from a config provider. | Online/OnlineConfig.h |
UE::Online::LoadConfig(IOnlineConfigProvider &, const FString &, T &)
Description
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
| Name | UE::Online::LoadConfig |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineServices/Source/OnlineServicesCommon/Public/Online/OnlineConfig.h |
| Include Path | #include "Online/OnlineConfig.h" |
namespace UE
{
namespace Online
{
template<typename T>
std::enable_if_t< TModels_V< Meta::COnlineMetadataAvailable , T >, bool > UE::Online::LoadConfig
(
IOnlineConfigProvider & Provider,
const FString & Section,
T & Value
)
}
}
true if any values were loaded
Parameters
| Name | Remarks |
|---|---|
| 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 |
UE::Online::LoadConfig(IOnlineConfigProvider &, const TArray< FString > &, T &)
Description
Populate a struct from a config provider. Iterates through each section in SectionHierarchy, loading each field in the struct by matching field names with keys in the section. Requires that the type metadata is specified for StructType
| Name | UE::Online::LoadConfig |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineServices/Source/OnlineServicesCommon/Public/Online/OnlineConfig.h |
| Include Path | #include "Online/OnlineConfig.h" |
namespace UE
{
namespace Online
{
template<typename T>
std::enable_if_t< TModels_V< Meta::COnlineMetadataAvailable , T >, bool > UE::Online::LoadConfig
(
IOnlineConfigProvider & Provider,
const TArray < FString > & SectionHeirarchy,
T & Value
)
}
}
true if any values were loaded
Parameters
| Name | Remarks |
|---|---|
| Provider | The config provider |
| SectionHeirarchy | The config sections to load values from |
| Value | The struct whose fields will be loaded from config |
UE::Online::LoadConfig(IOnlineConfigProvider &, const FString &, const TCHAR *, T &)
Description
Populate a struct from a config provider. Loads the struct from the value of the given key in the given config section. Requires that the type metadata is specified for StructType, and that the config value is in config struct syntax.
| Name | UE::Online::LoadConfig |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineServices/Source/OnlineServicesCommon/Public/Online/OnlineConfig.h |
| Include Path | #include "Online/OnlineConfig.h" |
namespace UE
{
namespace Online
{
template<typename T>
std::enable_if_t< TModels_V< Meta::COnlineMetadataAvailable , T >, bool > UE::Online::LoadConfig
(
IOnlineConfigProvider & Provider,
const FString & Section,
const TCHAR * Key,
T & OutValue
)
}
}
true if any values were loaded
Parameters
| Name | Remarks |
|---|---|
| Provider | The config provider |
| Section | The section of the config where the struct resides |
| Key | The key in the config section where the struct resides |
| Value | The struct whose fields will be loaded from config |
UE::Online::LoadConfig(IOnlineConfigProvider &, const TArray< FString > &, const TCHAR *, T &)
Description
Populate a struct from a config provider. Iterates through each section in SectionHierarchy, loading the struct from the value of the given key in the given config section. Requires that the type metadata is specified for StructType, and that the config value is in config struct syntax.
| Name | UE::Online::LoadConfig |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineServices/Source/OnlineServicesCommon/Public/Online/OnlineConfig.h |
| Include Path | #include "Online/OnlineConfig.h" |
namespace UE
{
namespace Online
{
template<typename T>
std::enable_if_t< TModels_V< Meta::COnlineMetadataAvailable , T >, bool > UE::Online::LoadConfig
(
IOnlineConfigProvider & Provider,
const TArray < FString > & SectionHeirarchy,
const TCHAR * Key,
T & Value
)
}
}
true if any values were loaded
Parameters
| Name | Remarks |
|---|---|
| Provider | The config provider |
| SectionHeirarchy | The config sections to load values from |
| Key | The key in the config section where the struct resides |
| Value | The struct whose fields will be loaded from config |