2021-01-26 10:38:48 +08:00
|
|
|
|
|
|
|
ServerConfigManager = { }
|
|
|
|
|
|
|
|
|
|
|
|
function ServerConfigManager.Initialize()
|
2021-02-25 14:19:00 +08:00
|
|
|
LogError(ServerConfigManager.GetConfigInfo("func.Func_1.desc"))
|
2021-01-26 10:38:48 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
-- 判断是否有
|
|
|
|
function ServerConfigManager.IsConfig()
|
|
|
|
if AndroidDeviceInfo.Instance:GetVersionCode() > 24 then
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
function ServerConfigManager.GetConfigInfo(key)
|
|
|
|
local s = ConfigMgr:GetConfigInfo(key)
|
|
|
|
return s
|
|
|
|
end
|
|
|
|
function ServerConfigManager.GetConfigNetInfo(key)
|
|
|
|
local s = ConfigMgr:GetConfigNetInfo(key)
|
|
|
|
return s
|
|
|
|
|
|
|
|
end
|
|
|
|
function ServerConfigManager.GetConfigPersistentInfo(key)
|
|
|
|
local s = ConfigMgr:GetConfigPersistentInfo(key)
|
|
|
|
return s
|
|
|
|
|
|
|
|
end
|
|
|
|
function ServerConfigManager.GetConfigStreamingInfo(key)
|
|
|
|
local s = ConfigMgr:GetConfigStreamingInfo(key)
|
|
|
|
return s
|
|
|
|
|
|
|
|
end
|