master
parent
cc205edad6
commit
a51b33f4e5
|
|
@ -186,8 +186,6 @@ function M:InitData(over, room, result, total_result, callback)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:AddClearItem(room, data, total_data, over)
|
function M:AddClearItem(room, data, total_data, over)
|
||||||
print("服务端的数据判断======")
|
|
||||||
print(TableToString(data))
|
|
||||||
local n = over + 1
|
local n = over + 1
|
||||||
local list_view1 = self._view:GetChild('player_list')
|
local list_view1 = self._view:GetChild('player_list')
|
||||||
local list_view2 = self._view:GetChild('player_list_2')
|
local list_view2 = self._view:GetChild('player_list_2')
|
||||||
|
|
|
||||||
|
|
@ -171,12 +171,15 @@ function M:ShowHuTip(card)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:SetNotPutCard()
|
function M:SetNotPutCard()
|
||||||
-- local tempNotPutList = DataManager.CurrenRoom.self_player.currentNotPutCardList
|
if DataManager.CurrenRoom.self_player == nil then
|
||||||
-- if tempNotPutList and #tempNotPutList > 0 then
|
return
|
||||||
-- for i = 1, #tempNotPutList do
|
end
|
||||||
-- self:UpdateKan(tempNotPutList[i])
|
local tempNotPutList = DataManager.CurrenRoom.self_player.currentNotPutCardList
|
||||||
-- end
|
if tempNotPutList and #tempNotPutList > 0 then
|
||||||
-- end
|
for i = 1, #tempNotPutList do
|
||||||
|
self:UpdateKan(tempNotPutList[i])
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--手牌
|
--手牌
|
||||||
|
|
@ -529,7 +532,7 @@ function M:UpdateOutLine()
|
||||||
elseif self:getCardSize() == 2 then
|
elseif self:getCardSize() == 2 then
|
||||||
self._data_outLinePos = 110 - (155 * 3)
|
self._data_outLinePos = 110 - (155 * 3)
|
||||||
end
|
end
|
||||||
self._view_outLine.y = self._data_outLinePos + self._area_handcard_list.height - 220
|
self._view_outLine.y = self._data_outLinePos + self._area_handcard_list.height - 60
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:UpdateIsOnClick(isOut)
|
function M:UpdateIsOnClick(isOut)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
"test.device": "Huawei Mate20",
|
"test.device": "Huawei Mate20",
|
||||||
"canvasColor": 10066329,
|
"canvasColor": 10066329,
|
||||||
"auxline2": true,
|
"auxline2": true,
|
||||||
"doc.activeDoc": "ui://1utjt0r2ufu930",
|
"doc.activeDoc": "ui://lkq9ne9speuq5a",
|
||||||
"libview.twoColumn": false,
|
"libview.twoColumn": false,
|
||||||
"libview.expandedNodes": [
|
"libview.expandedNodes": [
|
||||||
"27vd145b",
|
"27vd145b",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue