同步放置提示
|
|
@ -833,7 +833,7 @@ function M:OnFangziAction(...)
|
|||
local fs_info = _player_card_info[self:GetPos(fz.from_seat)]
|
||||
fs_info:UpdateOutCardList()
|
||||
end
|
||||
info:UpdateFzList(fz, index, true)
|
||||
info:UpdateFzList(fz, index, true, player.seat)
|
||||
local getcard = fz.type == FZType.Peng or fz.type == FZType.Chi
|
||||
printlog(getcard)
|
||||
info:UpdateHandCard(getcard)
|
||||
|
|
|
|||
|
|
@ -217,12 +217,14 @@ local function getPos(my_seat, other_seat, total)
|
|||
return pos
|
||||
end
|
||||
|
||||
function M:UpdateFzList(fz, index, show_card)
|
||||
function M:UpdateFzList(fz, index, show_card, seat)
|
||||
local FZame = self._viewText_cardInfo['FZ_Card']
|
||||
index = index or 0
|
||||
show_card = show_card or nil
|
||||
|
||||
|
||||
local outCard = self._view_FZList:AddItemFromPool()
|
||||
outCard:GetController("seat").selectedIndex = seat or 0
|
||||
if fz.type == FZType.Chi then
|
||||
for i = 1, 3 do
|
||||
local FZCard = outCard:GetChild(string.format("Comp_Card%d", i))
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 819 KiB After Width: | Height: | Size: 820 KiB |
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 3.7 MiB After Width: | Height: | Size: 3.8 MiB |
|
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 2.7 MiB |
|
Before Width: | Height: | Size: 887 KiB After Width: | Height: | Size: 888 KiB |