34 lines
756 B
Lua
34 lines
756 B
Lua
|
|
ServerConfigManager = { }
|
|
|
|
|
|
function ServerConfigManager.Initialize()
|
|
LogError(ServerConfigManager.GetConfigInfo("func.Func_1.desc"))
|
|
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 |