Skip to main content

Dynamic Update Configuration (UpdateConfig)

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

Usage caveat: The timing of this interface's call is uncontrollable, causing initialization issues with some third-party SDKs. It is not recommended for business use.If there is indeed a demand for usage, it is suggested to contact Player Network Assistant for evaluation.

UpdateConfig allows setting empty string values.When the key is set to an empty value, GetConfig will return an empty value, and INTLConfig.ini will change the value to empty.

Function Definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool UpdateConfig(TMap<FString, FString> Cfg, const FString Project = "INTL");

Parameter Details

ParameterTypeExplanation
CfgTMap<FString, FString>Configuration content
ProjectFStringDefault parameter, remains unchanged

Sample Code

TMap<FString, FString> config;
config.Add("LOG_LEVEL", "1");
UINTLSDKAPI::UpdateConfig(config);