跑得快结算同步
parent
259a6e611b
commit
01d428b954
|
|
@ -864,18 +864,6 @@ function M:EventInit()
|
||||||
self.destory_win = coroutine.start(function()
|
self.destory_win = coroutine.start(function()
|
||||||
-- -- print("11111111111111")
|
-- -- print("11111111111111")
|
||||||
-- coroutine.wait(1)
|
-- coroutine.wait(1)
|
||||||
if remaincards then
|
|
||||||
-- body
|
|
||||||
card_info._view_Out:RemoveChildrenToPool()
|
|
||||||
|
|
||||||
local newremaincards = _gamectr:ChangeCodeByFrom(remaincards, true)
|
|
||||||
table.sort(remaincards)
|
|
||||||
for i = #newremaincards, 1, -1 do
|
|
||||||
coroutine.wait(0.5)
|
|
||||||
local child_card = card_info._view_Out:AddItemFromPool()
|
|
||||||
card_info:FillPoker(child_card, "", newremaincards[i])
|
|
||||||
end
|
|
||||||
end
|
|
||||||
coroutine.wait(1)
|
coroutine.wait(1)
|
||||||
if self._room.self_player.seat == win_seat then
|
if self._room.self_player.seat == win_seat then
|
||||||
local sprint_seat_list = self:GetSpringSeats(info)
|
local sprint_seat_list = self:GetSpringSeats(info)
|
||||||
|
|
@ -941,6 +929,14 @@ function M:EventInit()
|
||||||
if player.seat ~= self._room.self_player.seat then
|
if player.seat ~= self._room.self_player.seat then
|
||||||
card_info:UpdateHandPoker(player.cards, false, true)
|
card_info:UpdateHandPoker(player.cards, false, true)
|
||||||
card_info:SetRemainCardNumber(false)
|
card_info:SetRemainCardNumber(false)
|
||||||
|
|
||||||
|
card_info._view_Out:RemoveChildrenToPool()
|
||||||
|
card_info.ctr_outpoker.selectedIndex = 1
|
||||||
|
for i = 1, #player.handCards do
|
||||||
|
local child_card = card_info._view_Out:AddItemFromPool()
|
||||||
|
card_info:FillPoker(child_card, "", player.handCards[i])
|
||||||
|
coroutine.wait(0.3)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
self:ChangeBgmMusic(1)
|
self:ChangeBgmMusic(1)
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ function RunFast_ResultView.new(blur_view, data, roomid, over, win_seat, dissolv
|
||||||
self._close_zone = false
|
self._close_zone = false
|
||||||
--self._blur_view = blur_view
|
--self._blur_view = blur_view
|
||||||
self._gamectr = ControllerManager.GetController(GameController)
|
self._gamectr = ControllerManager.GetController(GameController)
|
||||||
self:init("ui://Extend_Poker_RunFastNew/clearing", data, roomid, over, win_seat, dissolve, remaincards)
|
self:init("ui://Extend_Poker_RunFastNew/clearing_new", data, roomid, over, win_seat, dissolve, remaincards)
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -32,7 +32,7 @@ function M:init(url, data, roomid, over, win_seat, dissolve, remaincards)
|
||||||
_gamectr:ConformToNextGame()
|
_gamectr:ConformToNextGame()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
self._view:GetController('btn_closeRound').onClick:Set(function()
|
self._view:GetChild('btn_closeRound').onClick:Set(function()
|
||||||
ViewManager.ChangeView(ViewManager.View_Family)
|
ViewManager.ChangeView(ViewManager.View_Family)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue