Skip to main content

Dynamic Update Configuration (UpdateConfig)

AndroidiOSWindows
If you're using Unreal Engine, see UpdateConfig for Unreal Engine 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

public static bool UpdateConfigs(Dictionary<string, string> configsDic, string project = "INTL")

Parameter Details

ParameterTypeExplanation
configsDicDictionary<string, string>Configuration content
projectstringDefault parameter, remains unchanged

Sample Code

Dictionary<string, string> config = new Dictionary<string, string>();
config.Add("LOG_LEVEL", "1");
INTLAPI.UpdateConfigs(config);