手牌排序

master
罗家炜 2025-05-07 17:19:35 +08:00
parent ff9c7eeb19
commit 7ee1038f09
1 changed files with 2 additions and 0 deletions

View File

@ -181,6 +181,8 @@ function M:fillResult0(room, peopleNum, result)
local handCardItem = allCardsList:AddItemFromPool("ui://Main_Majiang/Comp_HandCard") local handCardItem = allCardsList:AddItemFromPool("ui://Main_Majiang/Comp_HandCard")
local handCardList = handCardItem:GetChild("list") local handCardList = handCardItem:GetChild("list")
--手牌排序
table.sort(infoList.hand_card, ViewUtil.HandCardSort)
handCardList:SetVirtual() handCardList:SetVirtual()
--去除赢家手牌标志 --去除赢家手牌标志
local flag_remove = infoList.is_win local flag_remove = infoList.is_win