This commit is contained in:
2020-07-16 08:54:32 +08:00
parent ce0b0f59f9
commit f9e24b7595
19 changed files with 723 additions and 718 deletions

View File

@@ -31,7 +31,7 @@ CLLMainLua.init = function()
MyCfg.mode = GameMode.none
-- 日志logveiw
if ReporterMessageReceiver.self ~= nil then
ReporterMessageReceiver.self.gameObject:SetActive(true)
ReporterMessageReceiver.self.gameObject:SetActive(false)
ReporterMessageReceiver.self.luaPath = "trCRM/upgradeRes/priority/lua/toolkit/KKLogListener.lua"
ReporterMessageReceiver.self:setLua()
end
@@ -43,7 +43,8 @@ CLLMainLua.init = function()
-- AndroidStatusBar.setFlags(AndroidStatusBar.WINDOW_FLAG_FORCE_NOT_FULLSCREEN)
-- CS.ApplicationChrome.statusBarState = CS.ApplicationChrome.States.Visible
-- CS.ApplicationChrome.dimmed = false
CS.ApplicationChrome.setSoftInputMode(CS.ApplicationChrome.ADJUST_RESIZE);
-- CS.ApplicationChrome.setSoftInputMode(CS.ApplicationChrome.ADJUST_RESIZE);
--设置帧率
Application.targetFrameRate = 10

View File

@@ -199,7 +199,7 @@ function getChlCode()
if chnCfg ~= nil then
return MapEx.getString(chnCfg, "SubChannel")
end
local chlCode = "0000"
local chlCode = "1000"
chnCfg = getChlCfg()
if (chnCfg ~= nil) then
chlCode = MapEx.getString(chnCfg, "SubChannel")

View File

@@ -3,7 +3,9 @@ KKLogListener = {}
function KKLogListener.OnLogError(log)
-- 当有异常日志时
MyUtl.toastE("有异常日志,请在屏幕画圈查看详细!")
if MyUtl then
MyUtl.toastE("有异常日志,请在屏幕画圈查看详细!")
end
end
function KKLogListener.OnLogWarning(log)

View File

@@ -181,6 +181,7 @@ do
else
if not CLCfgBase.self.hotUpgrade4EachServer then
-- 更新资源
print("更新资源")
CLLVerManager.init(CLLPSplash.onProgress, CLLPSplash.onFinishResUpgrade, true, "")
else
--
@@ -277,6 +278,7 @@ do
-- 资源更新完成
function CLLPSplash.onFinishResUpgrade(upgradeProcSuccess)
print("CLLPSplash.onFinishResUpgrade")
if (not upgradeProcSuccess) then
print("UpgradeResFailed")
else

View File

@@ -43,7 +43,7 @@ function CLLPStart.setLuasAtBegainning()
-- 日志监听
if ReporterMessageReceiver.self and ReporterMessageReceiver.self.gameObject then
-- if KKWhiteList.isWhiteName() then
ReporterMessageReceiver.self.gameObject:SetActive(true)
ReporterMessageReceiver.self.gameObject:SetActive(false)
-- else
-- ReporterMessageReceiver.self.gameObject:SetActive(false)
-- end