up
This commit is contained in:
@@ -43,7 +43,7 @@ function CLLPStart.setLuasAtBegainning()
|
||||
-- 日志监听
|
||||
if ReporterMessageReceiver.self and ReporterMessageReceiver.self.gameObject then
|
||||
-- if KKWhiteList.isWhiteName() then
|
||||
ReporterMessageReceiver.self.gameObject:SetActive(false)
|
||||
ReporterMessageReceiver.self.gameObject:SetActive(true)
|
||||
-- else
|
||||
-- ReporterMessageReceiver.self.gameObject:SetActive(false)
|
||||
-- end
|
||||
@@ -193,11 +193,16 @@ function CLLPStart.doEnterGame()
|
||||
if content.success then
|
||||
local currGroup = Prefs.getCurrGroup(Prefs.getUserName())
|
||||
if isNilOrEmpty(currGroup) then
|
||||
---@type _ParamTRPSelectGroup
|
||||
local d = {}
|
||||
d.isHideCloseBtn = true
|
||||
d.companyList = content.result
|
||||
getPanelAsy("PanelSelectCompany", onLoadedPanel, d)
|
||||
if #(content.result) == 1 then
|
||||
Prefs.setCurrGroup(Prefs.getUserName(), json.encode(content.result[1]))
|
||||
getPanelAsy("PanelConnect", onLoadedPanel)
|
||||
else
|
||||
---@type _ParamTRPSelectGroup
|
||||
local d = {}
|
||||
d.isHideCloseBtn = true
|
||||
d.companyList = content.result
|
||||
getPanelAsy("PanelSelectCompany", onLoadedPanel, d)
|
||||
end
|
||||
CLLPStart.hideSplash()
|
||||
else
|
||||
local useOldCurrGroup = false
|
||||
@@ -213,11 +218,16 @@ function CLLPStart.doEnterGame()
|
||||
if useOldCurrGroup then
|
||||
getPanelAsy("PanelConnect", onLoadedPanel)
|
||||
else
|
||||
---@type _ParamTRPSelectGroup
|
||||
local d = {}
|
||||
d.isHideCloseBtn = true
|
||||
d.companyList = content.result
|
||||
getPanelAsy("PanelSelectCompany", onLoadedPanel, d)
|
||||
if #(content.result) == 1 then
|
||||
Prefs.setCurrGroup(Prefs.getUserName(), json.encode(content.result[1]))
|
||||
getPanelAsy("PanelConnect", onLoadedPanel)
|
||||
else
|
||||
---@type _ParamTRPSelectGroup
|
||||
local d = {}
|
||||
d.isHideCloseBtn = true
|
||||
d.companyList = content.result
|
||||
getPanelAsy("PanelSelectCompany", onLoadedPanel, d)
|
||||
end
|
||||
end
|
||||
CLLPStart.hideSplash()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user