南城奖马显示
parent
1f1419219f
commit
f1f2e68878
|
|
@ -115,6 +115,7 @@ function M:fillResult0(room, peopleNum, result)
|
|||
local isZhuang = playerInfoComp:GetController("zhuang")
|
||||
|
||||
local infoList = result.info_list[i]
|
||||
local infoJiangma = result.niao
|
||||
local playInfo = room:GetPlayerBySeat(infoList.seat)
|
||||
local fzCardInfo = playInfo.fz_list
|
||||
local fzInfoNum = #fzCardInfo
|
||||
|
|
@ -213,7 +214,15 @@ function M:fillResult0(room, peopleNum, result)
|
|||
huCardBtn.icon = string.format("ui://Main_Majiang/202_%d", infoList.win_card)
|
||||
huCardBtn.visible = true
|
||||
|
||||
jiangMaList.visible = false
|
||||
jiangMaList.visible = true
|
||||
jiangMaList:SetVirtual()
|
||||
jiangMaList.itemRenderer = function(index, obj)
|
||||
obj.icon = string.format("ui://Main_Majiang/202_%d", infoJiangma[index + 1].card)
|
||||
obj:GetController('bg').selectedIndex = infoJiangma[index + 1].score
|
||||
obj:GetController('jing').selectedIndex = infoJiangma[index + 1].card == room.jing and 1 or 0
|
||||
end
|
||||
jiangMaList.numItems = #infoJiangma
|
||||
jiangMaList.columnCount = #infoJiangma / 2
|
||||
else
|
||||
playerInfoComp:GetChild("text_huShow").text = ""
|
||||
if not room.isZiMoHu and playInfo.self_user.account_id == result.active_player then
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue