UpdateConfig
AndroidiOSWindows
If you were looking for the method for use with Unity, see UpdateConfig for Unity SDK.
If you were looking for the method for use with Unity, see UpdateConfig for Unity SDK.
caution
The sequence when the API is invoked is uncontrollable, and issues may happen with third-party SDK initializations. It is not recommended for games to use this API. Please reach out to the Player Network representative if it is really required.
UpdateConfig allows setting empty string values. When the key is set to an empty value, GetConfig will return empty 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");
Input parameters
Parameter | Type | Description |
---|---|---|
Cfg | TMap<FString, FString> | Configuration content |
Project | FString | Default parameters, keep unchanged |
Code sample
TMap<FString, FString> config;
config.Add("LOG_LEVEL", "1");
UINTLSDKAPI::UpdateConfig(config);