Dynamic Update Configuration (UpdateConfig)
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
| Parameter | Type | Explanation |
|---|---|---|
| configsDic | Dictionary<string, string> | Configuration content |
| project | string | Default parameter, remains unchanged |
Sample Code
Dictionary<string, string> config = new Dictionary<string, string>();
config.Add("LOG_LEVEL", "1");
INTLAPI.UpdateConfigs(config);