Skip to main content

Get Configuration (GetConfig)

AndroidiOSWindows
If you're using the Unity engine, see GetConfig for Unity SDK.

Dynamically retrieve configuration values.If UpdateConfig is not called successfully to set the value of a given key, the configuration from the .ini file is returned; otherwise, the dynamically set value is returned.

Function Definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static FString GetConfig(const FString Key, const FString DefaultVal = "", const FString Project = "INTL");

Input Parameters

ParametersTypeExplanation
KeyFStringKey for the configuration
DefaultValFStringReturn value if retrieval fails, not mandatory
ProjectFStringDefault parameter, remains unchanged

Code sample

UINTLSDKAPI::GetConfig("GAME_ID");