同步梭哈错误提示
parent
9f6a0d439a
commit
a1df297151
|
|
@ -6,7 +6,6 @@ local function __init(self, mainView, view)
|
||||||
|
|
||||||
local btn_setting = mainView._view:GetChild("Btn_Setting")
|
local btn_setting = mainView._view:GetChild("Btn_Setting")
|
||||||
btn_setting.onClick:Set(function()
|
btn_setting.onClick:Set(function()
|
||||||
print("lingmengmainview", mainView.dismiss_room_cd_time)
|
|
||||||
local _settingView = mainView:NewSettingView()
|
local _settingView = mainView:NewSettingView()
|
||||||
_settingView:Show()
|
_settingView:Show()
|
||||||
end)
|
end)
|
||||||
|
|
|
||||||
|
|
@ -334,6 +334,8 @@ function M:EventInit()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
_gamectr:AddEventListener(EXGameEvent.OnTurnAction, function(...)
|
_gamectr:AddEventListener(EXGameEvent.OnTurnAction, function(...)
|
||||||
|
print("lingmengOnTurnAction")
|
||||||
|
pt(arg)
|
||||||
local arg = { ... }
|
local arg = { ... }
|
||||||
local data = arg[1]
|
local data = arg[1]
|
||||||
local seat = data.seat
|
local seat = data.seat
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,7 @@ end
|
||||||
function M:ShowTips(tipsList)
|
function M:ShowTips(tipsList)
|
||||||
self._ctr_out.selectedIndex = 1
|
self._ctr_out.selectedIndex = 1
|
||||||
self._view_tipsList:RemoveChildren()
|
self._view_tipsList:RemoveChildren()
|
||||||
|
print("lingmengShowTips", #tipsList)
|
||||||
for i = 1, #tipsList do
|
for i = 1, #tipsList do
|
||||||
if tipsList[i] == 1012 then
|
if tipsList[i] == 1012 then
|
||||||
local xiaScore = { 1, 2, 5 }
|
local xiaScore = { 1, 2, 5 }
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ local function __init(self, mainView, view)
|
||||||
|
|
||||||
local btn_setting = mainView._view:GetChild("Btn_Setting")
|
local btn_setting = mainView._view:GetChild("Btn_Setting")
|
||||||
btn_setting.onClick:Set(function()
|
btn_setting.onClick:Set(function()
|
||||||
print("lingmengmainview", mainView.dismiss_room_cd_time)
|
|
||||||
local _settingView = mainView:NewSettingView()
|
local _settingView = mainView:NewSettingView()
|
||||||
_settingView:Show()
|
_settingView:Show()
|
||||||
end)
|
end)
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,6 @@ function M:InitView(url, isHideIpAdds, settingViewType, ex_defaultbg, ex_bgconfi
|
||||||
-- stype = 2
|
-- stype = 2
|
||||||
-- end
|
-- end
|
||||||
-- end--self._root_view
|
-- end--self._root_view
|
||||||
print("lingmengmainview2", self.dismiss_room_cd_time)
|
|
||||||
local settingView = PKSettingView.new(self, 0, isHideJiesan, settingUrl,
|
local settingView = PKSettingView.new(self, 0, isHideJiesan, settingUrl,
|
||||||
handler(self, self.UpdateCardSize))
|
handler(self, self.UpdateCardSize))
|
||||||
-- 获取MainView界面state控制器选项
|
-- 获取MainView界面state控制器选项
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,6 @@ function M:InitView(url, isHideIpAdds, settingViewType, ex_defaultbg, ex_bgconfi
|
||||||
-- stype = 2
|
-- stype = 2
|
||||||
-- end
|
-- end
|
||||||
-- end--self._root_view
|
-- end--self._root_view
|
||||||
print("lingmengmainview2", self.dismiss_room_cd_time)
|
|
||||||
local settingView = PKSettingView.new(self, 0, isHideJiesan, settingUrl,
|
local settingView = PKSettingView.new(self, 0, isHideJiesan, settingUrl,
|
||||||
handler(self, self.UpdateCardSize))
|
handler(self, self.UpdateCardSize))
|
||||||
-- 获取MainView界面state控制器选项
|
-- 获取MainView界面state控制器选项
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue