yunque
parent
5f716eba7e
commit
8e927cf593
|
|
@ -242,11 +242,15 @@ function M:FG_GroupMembers12(group_id, limit, num, type, online, callback)
|
||||||
if res.ReturnCode == 0 then
|
if res.ReturnCode == 0 then
|
||||||
local group = DataManager.groups:get(group_id)
|
local group = DataManager.groups:get(group_id)
|
||||||
local members = res.Data.members
|
local members = res.Data.members
|
||||||
|
|
||||||
|
if #members>0 then
|
||||||
for i = 1, #members do
|
for i = 1, #members do
|
||||||
local m = members[i]
|
local m = members[i]
|
||||||
group:addMember(m)
|
group:addMember(m)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
end
|
||||||
callback(res)
|
callback(res)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -241,7 +241,7 @@ function M:GetMemberData(index)
|
||||||
if i == #allmembers then
|
if i == #allmembers then
|
||||||
allFlag = true
|
allFlag = true
|
||||||
end
|
end
|
||||||
pt(member)
|
|
||||||
if member.lev < 3 or member.partnerLev ~= 0 then
|
if member.lev < 3 or member.partnerLev ~= 0 then
|
||||||
table.insert(self.member_data, member)
|
table.insert(self.member_data, member)
|
||||||
sendRequest = sendRequest + 1
|
sendRequest = sendRequest + 1
|
||||||
|
|
|
||||||
|
|
@ -457,6 +457,7 @@ function M:OnRenderRecordItemNew(obj, mainRecord, root_id)
|
||||||
if not root_id and not mainRecord.partnerLev then
|
if not root_id and not mainRecord.partnerLev then
|
||||||
ViewUtil.ShowModalWait("正在获取成员中")
|
ViewUtil.ShowModalWait("正在获取成员中")
|
||||||
self:RecursionGetNumberRecordForLev1(0, mainRecord.uid, {})
|
self:RecursionGetNumberRecordForLev1(0, mainRecord.uid, {})
|
||||||
|
ViewUtil.CloseModalWait()
|
||||||
else
|
else
|
||||||
self:RecursionGetNumberRecord(mainRecord.uid, root_id or mainRecord.uid, 0)
|
self:RecursionGetNumberRecord(mainRecord.uid, root_id or mainRecord.uid, 0)
|
||||||
end
|
end
|
||||||
|
|
@ -538,6 +539,7 @@ function M:RecursionGetNumberRecordForLev1(index, id, tempTable)
|
||||||
if self.begin_time ~= nil and self.end_time ~= nil then
|
if self.begin_time ~= nil and self.end_time ~= nil then
|
||||||
time_type = 0
|
time_type = 0
|
||||||
end
|
end
|
||||||
|
|
||||||
local fgCtr = ControllerManager.GetController(NewGroupController)
|
local fgCtr = ControllerManager.GetController(NewGroupController)
|
||||||
fgCtr:FG_GroupMembers12(
|
fgCtr:FG_GroupMembers12(
|
||||||
self.group_id,
|
self.group_id,
|
||||||
|
|
@ -550,9 +552,18 @@ function M:RecursionGetNumberRecordForLev1(index, id, tempTable)
|
||||||
ViewUtil.ErrorTip(res.ReturnCode, '获取成员列表失败')
|
ViewUtil.ErrorTip(res.ReturnCode, '获取成员列表失败')
|
||||||
else
|
else
|
||||||
local numbers = res.Data.members
|
local numbers = res.Data.members
|
||||||
|
|
||||||
if #numbers == 0 then
|
if #numbers == 0 then
|
||||||
local one = table.remove(tempTable)
|
|
||||||
|
local one = {}
|
||||||
|
if #tempTable>0 then
|
||||||
|
one = table.remove(tempTable)
|
||||||
|
end
|
||||||
|
if one~=nil then
|
||||||
self:RecursionGetNumberRecordByLev1(tempTable, one.uid, id)
|
self:RecursionGetNumberRecordByLev1(tempTable, one.uid, id)
|
||||||
|
else
|
||||||
|
ViewUtil.ShowModalWait("没有下级成员")
|
||||||
|
end
|
||||||
else
|
else
|
||||||
for i = 1, #numbers do
|
for i = 1, #numbers do
|
||||||
if numbers[i].lev ~= 1 and numbers[i].partnerLev == 0 then
|
if numbers[i].lev ~= 1 and numbers[i].partnerLev == 0 then
|
||||||
|
|
@ -564,6 +575,7 @@ function M:RecursionGetNumberRecordForLev1(index, id, tempTable)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:RecursionGetNumberRecordByLev1(tempTable, id, root_id)
|
function M:RecursionGetNumberRecordByLev1(tempTable, id, root_id)
|
||||||
|
|
@ -571,7 +583,7 @@ function M:RecursionGetNumberRecordByLev1(tempTable, id, root_id)
|
||||||
if self.begin_time ~= nil and self.end_time ~= nil then
|
if self.begin_time ~= nil and self.end_time ~= nil then
|
||||||
time_type = 0
|
time_type = 0
|
||||||
end
|
end
|
||||||
|
ViewUtil.ShowModalWait(nil)
|
||||||
local fgCtr = ControllerManager.GetController(NewGroupController)
|
local fgCtr = ControllerManager.GetController(NewGroupController)
|
||||||
fgCtr:FG_GetDirectMemberStat(self.group_id, id, root_id, 0, 1,
|
fgCtr:FG_GetDirectMemberStat(self.group_id, id, root_id, 0, 1,
|
||||||
time_type,
|
time_type,
|
||||||
|
|
|
||||||
|
|
@ -255,7 +255,6 @@ function M:GetMemberData(index)
|
||||||
if index == 0 then
|
if index == 0 then
|
||||||
group:clearMember()
|
group:clearMember()
|
||||||
end
|
end
|
||||||
|
|
||||||
ViewUtil.ShowModalWait(nil, "亲友圈成员较多,请稍后")
|
ViewUtil.ShowModalWait(nil, "亲友圈成员较多,请稍后")
|
||||||
local fgCtr = ControllerManager.GetController(NewGroupController)
|
local fgCtr = ControllerManager.GetController(NewGroupController)
|
||||||
fgCtr:FG_GroupMembers12(
|
fgCtr:FG_GroupMembers12(
|
||||||
|
|
|
||||||
|
|
@ -262,7 +262,7 @@ function M:EventInit()
|
||||||
|
|
||||||
info:MarkBank(p.seat == _room.banker_seat)
|
info:MarkBank(p.seat == _room.banker_seat)
|
||||||
info:Ready(false)
|
info:Ready(false)
|
||||||
info._view:GetController('huxi').selectedIndex = 1
|
--info._view:GetController('huxi').selectedIndex = 1
|
||||||
info._view:GetChild('huxi').text = p.hu_xi
|
info._view:GetChild('huxi').text = p.hu_xi
|
||||||
info._view:GetController('zhanji').selectedIndex = 1
|
info._view:GetController('zhanji').selectedIndex = 1
|
||||||
info._view:GetChild('tex_jifen').text = p.total_score --d2ad(p.total_hp)
|
info._view:GetChild('tex_jifen').text = p.total_score --d2ad(p.total_hp)
|
||||||
|
|
@ -418,6 +418,8 @@ function M:EventInit()
|
||||||
local card = arg[2]
|
local card = arg[2]
|
||||||
local seat = p.seat
|
local seat = p.seat
|
||||||
local info = self._player_card_info[self:GetPos(seat)]
|
local info = self._player_card_info[self:GetPos(seat)]
|
||||||
|
|
||||||
|
|
||||||
self:PlaySound(p.self_user.sex, 'F_' .. card)
|
self:PlaySound(p.self_user.sex, 'F_' .. card)
|
||||||
if seat == self._room.self_player.seat then
|
if seat == self._room.self_player.seat then
|
||||||
_room.curren_outcard_seat = -1
|
_room.curren_outcard_seat = -1
|
||||||
|
|
@ -425,12 +427,14 @@ function M:EventInit()
|
||||||
info:UpdateIsOnClick(true)
|
info:UpdateIsOnClick(true)
|
||||||
info:SendChangeCard()
|
info:SendChangeCard()
|
||||||
info:ChuPaiTiShi()
|
info:ChuPaiTiShi()
|
||||||
|
|
||||||
end
|
end
|
||||||
local list = _room.player_list
|
local list = _room.player_list
|
||||||
for i = 1, #list do
|
for i = 1, #list do
|
||||||
local p = list[i]
|
local p = list[i]
|
||||||
local info = self._player_info[self:GetPos(p.seat)]
|
local info = self._player_info[self:GetPos(p.seat)]
|
||||||
info._view:GetController('time').selectedIndex = 0
|
info._view:GetController('time').selectedIndex = 0
|
||||||
|
self._player_info[self:GetPos(p.seat)]._view:GetController("huxi").selectedIndex = 1
|
||||||
end
|
end
|
||||||
info:UpdateOutCardList(card, true, false, self:GetPos(seat))
|
info:UpdateOutCardList(card, true, false, self:GetPos(seat))
|
||||||
if self._leftcard == 1 then
|
if self._leftcard == 1 then
|
||||||
|
|
@ -1034,7 +1038,7 @@ function M:OnFangziAction(...)
|
||||||
effect:GetChild('icon1').icon = UIPackage.GetItemURL('Main_RunBeard', 'ti')
|
effect:GetChild('icon1').icon = UIPackage.GetItemURL('Main_RunBeard', 'ti')
|
||||||
-- effect:GetChild("icon2").icon = UIPackage.GetItemURL("Main_RunBeard", "ti")
|
-- effect:GetChild("icon2").icon = UIPackage.GetItemURL("Main_RunBeard", "ti")
|
||||||
end
|
end
|
||||||
printlog("jefe self RB_FZType 5=======")
|
|
||||||
effect.touchable = false
|
effect.touchable = false
|
||||||
effect.x, effect.y = -250, -200
|
effect.x, effect.y = -250, -200
|
||||||
effect:GetTransition('t0'):Play()
|
effect:GetTransition('t0'):Play()
|
||||||
|
|
@ -1045,7 +1049,7 @@ function M:OnFangziAction(...)
|
||||||
effect:Dispose()
|
effect:Dispose()
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
printlog("jefe self RB_FZType 6=======")
|
|
||||||
end
|
end
|
||||||
if (player == self._room.self_player) then
|
if (player == self._room.self_player) then
|
||||||
coroutine.start(
|
coroutine.start(
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ local Record_Event = {
|
||||||
Evt_ThrowCard = 'ThrowCard',
|
Evt_ThrowCard = 'ThrowCard',
|
||||||
Evt_AddCard = 'AddCard',
|
Evt_AddCard = 'AddCard',
|
||||||
Evt_ChangePaiXing = 'ChangePaiXing',
|
Evt_ChangePaiXing = 'ChangePaiXing',
|
||||||
|
Evt_TipAction = "Tips",
|
||||||
Evt_Win = 'Win',
|
Evt_Win = 'Win',
|
||||||
Evt_result = 'result'
|
Evt_result = 'result'
|
||||||
}
|
}
|
||||||
|
|
@ -95,6 +96,7 @@ function M:InitView(url)
|
||||||
self._cmdmap[Record_Event.Evt_Action] = self.CmdAction
|
self._cmdmap[Record_Event.Evt_Action] = self.CmdAction
|
||||||
self._cmdmap[Record_Event.Evt_ThrowCard] = self.CmdThrowCard
|
self._cmdmap[Record_Event.Evt_ThrowCard] = self.CmdThrowCard
|
||||||
self._cmdmap[Record_Event.Evt_AddCard] = self.CmdAddCard
|
self._cmdmap[Record_Event.Evt_AddCard] = self.CmdAddCard
|
||||||
|
self._cmdmap[Record_Event.Evt_TipAction] = self.CmdTipAction
|
||||||
self._cmdmap[Record_Event.Evt_Win] = self.CmdWin
|
self._cmdmap[Record_Event.Evt_Win] = self.CmdWin
|
||||||
self._cmdmap[Record_Event.Evt_ChangePaiXing] = self.CmdChangePaiXing
|
self._cmdmap[Record_Event.Evt_ChangePaiXing] = self.CmdChangePaiXing
|
||||||
self._cmdmap[Record_Event.Evt_result] = self.onResult
|
self._cmdmap[Record_Event.Evt_result] = self.onResult
|
||||||
|
|
@ -150,11 +152,26 @@ function M:ShowStep(index)
|
||||||
local step = self._step[index + 1]
|
local step = self._step[index + 1]
|
||||||
self:UpdateStep(index + 1)
|
self:UpdateStep(index + 1)
|
||||||
self:UpdateLeftCard(step.left_card)
|
self:UpdateLeftCard(step.left_card)
|
||||||
|
if self._chipeng_tip then
|
||||||
|
self._chipeng_tip:Dispose()
|
||||||
|
self._chipeng_tip = nil
|
||||||
|
end
|
||||||
|
if self._lit_fanzi then
|
||||||
|
self._lit_fanzi=nil
|
||||||
|
end
|
||||||
|
|
||||||
|
local _chipeng_tip = UIPackage.CreateObject('Main_RunBeard', 'Gcm_action_tips')
|
||||||
|
self._chipeng_tip = _chipeng_tip
|
||||||
|
self._lit_fanzi = _chipeng_tip:GetChild('lit_fanzi')
|
||||||
|
self._lit_fanzi:RemoveChildrenToPool()
|
||||||
|
|
||||||
|
|
||||||
for i = 1, #step.player_card_data do
|
for i = 1, #step.player_card_data do
|
||||||
local p = self._room:GetPlayerBySeat(i)
|
local p = self._room:GetPlayerBySeat(i)
|
||||||
local info = self._player_card_info[self:GetPos(i)]
|
local info = self._player_card_info[self:GetPos(i)]
|
||||||
p.card_list = step.player_card_data[i].card_list
|
p.card_list = step.player_card_data[i].card_list
|
||||||
p.outcard_list = step.player_card_data[i].outcard_list
|
p.outcard_list = step.player_card_data[i].outcard_list
|
||||||
|
-- p.tip_list = step.player_card_data[i].tip_list
|
||||||
p.fz_list = step.player_card_data[i].fz_list
|
p.fz_list = step.player_card_data[i].fz_list
|
||||||
p.hu_xi = step.player_card_data[i].hu_xi
|
p.hu_xi = step.player_card_data[i].hu_xi
|
||||||
p.hand_left_count = #p.card_list
|
p.hand_left_count = #p.card_list
|
||||||
|
|
@ -204,11 +221,7 @@ function M:ShowStep(index)
|
||||||
info:InitHandCard(false)
|
info:InitHandCard(false)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if step.cmd == Record_Event.Evt_ChangePaiXing then
|
||||||
|
|
||||||
|
|
||||||
--if p.seat == self._room.self_player.seat then
|
|
||||||
--[[if step.cmd == Record_Event.Evt_ChangePaiXing then
|
|
||||||
local _card_list = {}
|
local _card_list = {}
|
||||||
for i = 1, #step.card_list do
|
for i = 1, #step.card_list do
|
||||||
local data = {}
|
local data = {}
|
||||||
|
|
@ -223,7 +236,7 @@ function M:ShowStep(index)
|
||||||
else
|
else
|
||||||
info:UpdateHandCards(step.card_list)
|
info:UpdateHandCards(step.card_list)
|
||||||
end
|
end
|
||||||
end--]]
|
end
|
||||||
--end
|
--end
|
||||||
|
|
||||||
if step.cmd == Record_Event.Evt_OutCard or step.cmd == Record_Event.Evt_GetCard then
|
if step.cmd == Record_Event.Evt_OutCard or step.cmd == Record_Event.Evt_GetCard then
|
||||||
|
|
@ -242,7 +255,39 @@ function M:ShowStep(index)
|
||||||
if p.outcard_list ~= nil then
|
if p.outcard_list ~= nil then
|
||||||
info:UpdateQiPai(p.outcard_list)
|
info:UpdateQiPai(p.outcard_list)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
if step.cmd == Record_Event.Evt_TipAction then
|
||||||
|
if step.player_card_data[i].tip_list[index]~=nil then
|
||||||
|
for key, value in pairs(step.player_card_data[i].tip_list[index]) do
|
||||||
|
local td = value
|
||||||
|
local url = 'ui://Main_RunBeard/Btn_fztip'
|
||||||
|
local btn_t = self._lit_fanzi:AddItemFromPool(url)
|
||||||
|
btn_t.icon = 'ui://Main_RunBeard/newop_' ..td
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local url1 = 'ui://Main_RunBeard/Btn_fztip'
|
||||||
|
local btn_t1 = self._lit_fanzi:AddItemFromPool(url1)
|
||||||
|
btn_t1.icon = 'ui://Main_RunBeard/newop'
|
||||||
|
|
||||||
|
self._view:AddChild(_chipeng_tip)
|
||||||
|
_chipeng_tip:Center()
|
||||||
|
self._chipeng_tip.x = self._chipeng_tip.x + 200
|
||||||
|
self._chipeng_tip.y = self._chipeng_tip.y - 50
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- print("step.cmd ",step.cmdm,Record_Event.Evt_Win)
|
-- print("step.cmd ",step.cmdm,Record_Event.Evt_Win)
|
||||||
if step.cmd == Record_Event.Evt_result then
|
if step.cmd == Record_Event.Evt_result then
|
||||||
local _room = DataManager.CurrenRoom
|
local _room = DataManager.CurrenRoom
|
||||||
|
|
@ -319,6 +364,7 @@ function M:GenerateAllStepData(data)
|
||||||
u.seat = p.seat
|
u.seat = p.seat
|
||||||
u.card_list = p.hand_card
|
u.card_list = p.hand_card
|
||||||
u.hand_left_count = #u.card_list
|
u.hand_left_count = #u.card_list
|
||||||
|
u.tip_list = {}
|
||||||
u.fz_list = {}
|
u.fz_list = {}
|
||||||
u.outcard_list = {}
|
u.outcard_list = {}
|
||||||
u.hu_xi = 0
|
u.hu_xi = 0
|
||||||
|
|
@ -488,6 +534,21 @@ function M:CmdWin(cmd, index)
|
||||||
data.win = cmd.seat
|
data.win = cmd.seat
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function M:CmdTipAction(cmd,index)
|
||||||
|
local data = self:CopyLastStep(index)
|
||||||
|
data.cmd = cmd.cmd
|
||||||
|
data.seat = cmd.seat
|
||||||
|
local u = data.player_card_data[cmd.seat]
|
||||||
|
data.tip_list = cmd.data.tip_list
|
||||||
|
local tips = {}
|
||||||
|
if #cmd.data.tip_list>0 then
|
||||||
|
for i = 1, #cmd.data.tip_list do
|
||||||
|
tips[cmd.data.tip_list[i].type] = cmd.data.tip_list[i].type
|
||||||
|
end
|
||||||
|
end
|
||||||
|
u.tip_list[index] = tips
|
||||||
|
end
|
||||||
|
|
||||||
function M:UpdateLeftCard(num)
|
function M:UpdateLeftCard(num)
|
||||||
self._tex_LeftCard.text = '剩余 ' .. num .. ' 张牌'
|
self._tex_LeftCard.text = '剩余 ' .. num .. ' 张牌'
|
||||||
end
|
end
|
||||||
|
|
@ -503,11 +564,13 @@ function M:CopyLastStep(index)
|
||||||
step.player_card_data = {}
|
step.player_card_data = {}
|
||||||
local card_data = step.player_card_data
|
local card_data = step.player_card_data
|
||||||
for i = 1, #last_step.player_card_data do
|
for i = 1, #last_step.player_card_data do
|
||||||
|
-- pt(last_step.player_card_data[i])
|
||||||
card_data[i] = {}
|
card_data[i] = {}
|
||||||
card_data[i].card_list = self:deepcopy(last_step.player_card_data[i].card_list)
|
card_data[i].card_list = self:deepcopy(last_step.player_card_data[i].card_list)
|
||||||
card_data[i].outcard_list = self:deepcopy(last_step.player_card_data[i].outcard_list)
|
card_data[i].outcard_list = self:deepcopy(last_step.player_card_data[i].outcard_list)
|
||||||
card_data[i].fz_list = self:deepcopy(last_step.player_card_data[i].fz_list)
|
card_data[i].fz_list = self:deepcopy(last_step.player_card_data[i].fz_list)
|
||||||
card_data[i].hand_left_count = #card_data[i].card_list
|
card_data[i].hand_left_count = #card_data[i].card_list
|
||||||
|
card_data[i].tip_list = self:deepcopy(last_step.player_card_data[i].tip_list)
|
||||||
card_data[i].hu_xi = self:deepcopy(last_step.player_card_data[i].hu_xi)
|
card_data[i].hu_xi = self:deepcopy(last_step.player_card_data[i].hu_xi)
|
||||||
end
|
end
|
||||||
--pt(card_data)
|
--pt(card_data)
|
||||||
|
|
@ -535,7 +598,6 @@ function M:deepcopy(object)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:NextRecordPlay()
|
function M:NextRecordPlay()
|
||||||
printlog("NextRecordPlay")
|
|
||||||
local result = PlayBackView.NextRecordPlay(self)
|
local result = PlayBackView.NextRecordPlay(self)
|
||||||
if not result then
|
if not result then
|
||||||
return
|
return
|
||||||
|
|
@ -547,7 +609,6 @@ function M:NextRecordPlay()
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:LastRecordPlay()
|
function M:LastRecordPlay()
|
||||||
printlog("LastRecordPlay")
|
|
||||||
local result = PlayBackView.LastRecordPlay(self)
|
local result = PlayBackView.LastRecordPlay(self)
|
||||||
if not result then
|
if not result then
|
||||||
return
|
return
|
||||||
|
|
@ -652,10 +713,6 @@ function M:OnUpdate()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:ShowBackResult(datas)
|
|
||||||
self._view:GetController("state").selectedIndex = 4
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
function M:Destroy()
|
function M:Destroy()
|
||||||
UpdateBeat:Remove(self.OnUpdate, self)
|
UpdateBeat:Remove(self.OnUpdate, self)
|
||||||
|
|
|
||||||
|
|
@ -858,7 +858,7 @@ function M:FillItemData(room, data, item)
|
||||||
local cards = card_list:AddItemFromPool()
|
local cards = card_list:AddItemFromPool()
|
||||||
cards:GetChild('card_type').text = '提'
|
cards:GetChild('card_type').text = '提'
|
||||||
cards:GetChild('card_huxi').text = info_list[i].opCardList[k].hu_xi
|
cards:GetChild('card_huxi').text = info_list[i].opCardList[k].hu_xi
|
||||||
cards:GetController('c1').selectedIndex = 1
|
cards:GetController('c1').selectedIndex = 2
|
||||||
for j = 1, 4 do
|
for j = 1, 4 do
|
||||||
cards:GetChild('card_' .. j).icon =
|
cards:GetChild('card_' .. j).icon =
|
||||||
self:getCardItem('ui://Main_RunBeard/202_', info_list[i].opCardList[k].card1)
|
self:getCardItem('ui://Main_RunBeard/202_', info_list[i].opCardList[k].card1)
|
||||||
|
|
|
||||||
|
|
@ -211,7 +211,7 @@ function M:UpdateHandCards( list )
|
||||||
end
|
end
|
||||||
for i=1,#list do
|
for i=1,#list do
|
||||||
local card_code = list[i].card_item
|
local card_code = list[i].card_item
|
||||||
local btn_card =UIPackage.CreateObjectFromURL("ui://Main_RunBeard/Qipai")
|
local btn_card =UIPackage.CreateObjectFromURL("ui://Main_RunBeard/Qipais")
|
||||||
btn_card:GetChild("icon").icon = self:getCardItem("ui://Main_RunBeard/202_",card_code)
|
btn_card:GetChild("icon").icon = self:getCardItem("ui://Main_RunBeard/202_",card_code)
|
||||||
local card_view = NewCardView(btn_card,card_code,list[i].index_X,list[i].index_Y)
|
local card_view = NewCardView(btn_card,card_code,list[i].index_X,list[i].index_Y)
|
||||||
--存牌堆
|
--存牌堆
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,8 @@
|
||||||
"ui://ppu1wv76j4mf9e",
|
"ui://ppu1wv76j4mf9e",
|
||||||
"ui://ppu1wv76j4mf9k",
|
"ui://ppu1wv76j4mf9k",
|
||||||
"ui://v6yvqp7wf55qwa",
|
"ui://v6yvqp7wf55qwa",
|
||||||
|
"ui://v6yvqp7wf55qw7",
|
||||||
|
"ui://v6yvqp7wf55qw5",
|
||||||
"ui://v6yvqp7waen81bs",
|
"ui://v6yvqp7waen81bs",
|
||||||
"ui://v6yvqp7waen81b0",
|
"ui://v6yvqp7waen81b0",
|
||||||
"ui://v6yvqp7waen81bf",
|
"ui://v6yvqp7waen81bf",
|
||||||
|
|
@ -68,7 +70,7 @@
|
||||||
"test.device": "720p Phone",
|
"test.device": "720p Phone",
|
||||||
"canvasColor": 10066329,
|
"canvasColor": 10066329,
|
||||||
"auxline2": true,
|
"auxline2": true,
|
||||||
"doc.activeDoc": "ui://ppu1wv76j4mf9k",
|
"doc.activeDoc": "ui://v6yvqp7wf55qw7",
|
||||||
"libview.twoColumn": false,
|
"libview.twoColumn": false,
|
||||||
"libview.expandedNodes": [
|
"libview.expandedNodes": [
|
||||||
"s63l0suw",
|
"s63l0suw",
|
||||||
|
|
@ -81,8 +83,12 @@
|
||||||
"/component/Main/",
|
"/component/Main/",
|
||||||
"ppu1wv76",
|
"ppu1wv76",
|
||||||
"/component/clearing/",
|
"/component/clearing/",
|
||||||
"m7iejg46",
|
"v6yvqp7w",
|
||||||
"/"
|
"/",
|
||||||
|
"v6yvqp7w",
|
||||||
|
"/component/",
|
||||||
|
"v6yvqp7w",
|
||||||
|
"/component/Main/"
|
||||||
],
|
],
|
||||||
"auxline1": true,
|
"auxline1": true,
|
||||||
"snapToGrid": true,
|
"snapToGrid": true,
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@
|
||||||
<item/>
|
<item/>
|
||||||
<item/>
|
<item/>
|
||||||
</list>
|
</list>
|
||||||
<list id="n41_n1ry" name="card_list" xy="208,128" pivot="0.5,0.5" size="605,276" group="n45_n1ry" rotation="180" layout="row" selectionMode="none" colGap="5" defaultItem="ui://ppu1wv76j4mf9k" align="center" vAlign="bottom" autoClearItems="true">
|
<list id="n41_n1ry" name="card_list" xy="208,128" pivot="0.5,0.5" size="605,276" group="n45_n1ry" rotation="180" layout="row" selectionMode="none" defaultItem="ui://ppu1wv76j4mf9k" align="center" vAlign="bottom" autoClearItems="true">
|
||||||
<item/>
|
<item/>
|
||||||
<item/>
|
<item/>
|
||||||
</list>
|
</list>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<component size="1334,750" designImage="ui://3vytbifonu0l2f" designImageOffsetX="-200" designImageOffsetY="-100">
|
<component size="1334,750" designImage="ui://3vytbifonu0l2f" designImageOffsetX="-200" designImageOffsetY="-100">
|
||||||
<controller name="state" pages="0,准备状态,1,游戏状态,2,回合间状态,3,回放状态" selected="0"/>
|
<controller name="state" pages="0,准备状态,1,游戏状态,2,回合间状态,3,回放状态" selected="3"/>
|
||||||
<controller name="sdk" pages="0,,1," selected="0"/>
|
<controller name="sdk" pages="0,,1," selected="0"/>
|
||||||
<controller name="action" pages="2,空,0,准备,1,开始" selected="0"/>
|
<controller name="action" pages="2,空,0,准备,1,开始" selected="0"/>
|
||||||
<controller name="jushu" pages="0,,1," selected="0"/>
|
<controller name="jushu" pages="0,,1," selected="0"/>
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
<component id="n147_nu0l" name="player_info2" src="f55qw7" fileName="component/Main/component/PlayerHead_2.xml" xy="11,71">
|
<component id="n147_nu0l" name="player_info2" src="f55qw7" fileName="component/Main/component/PlayerHead_2.xml" xy="11,71">
|
||||||
<relation target="" sidePair="left-left,leftext-left"/>
|
<relation target="" sidePair="left-left,leftext-left"/>
|
||||||
</component>
|
</component>
|
||||||
<component id="n7" name="player_info1" src="f55qw4" fileName="component/Main/component/PlayerHead_1.xml" xy="20,524" size="189,67">
|
<component id="n7" name="player_info1" src="f55qw4" fileName="component/Main/component/PlayerHead_1.xml" xy="8,570" size="189,67">
|
||||||
<gearXY controller="state" pages="0,1,2,3" values="20,524|22,548|8,570|8,570"/>
|
<gearXY controller="state" pages="0,1,2,3" values="20,524|22,548|8,570|8,570"/>
|
||||||
<relation target="" sidePair="left-left,leftext-left"/>
|
<relation target="" sidePair="left-left,leftext-left"/>
|
||||||
</component>
|
</component>
|
||||||
|
|
@ -71,9 +71,9 @@
|
||||||
<gearDisplay controller="state" pages="0,1,2,3"/>
|
<gearDisplay controller="state" pages="0,1,2,3"/>
|
||||||
<relation target="" sidePair="left-left"/>
|
<relation target="" sidePair="left-left"/>
|
||||||
</component>
|
</component>
|
||||||
<component id="n31_h1uu" name="roominfo_panel" src="f55qwb" fileName="component/Main/RoomInfoPanel1.xml" xy="807,-11" size="461,97" group="n150_8th3" touchable="false"/>
|
<component id="n31_h1uu" name="roominfo_panel" src="f55qwb" fileName="component/Main/RoomInfoPanel1.xml" xy="856,-25" size="461,97" group="n150_8th3" touchable="false"/>
|
||||||
<component id="n46_u4l2" name="btn_rule1" src="f55qvn" fileName="component/Main/component/Folder/component/phone_info/Btn_log.xml" xy="562,-92" size="157,4" group="n150_8th3" visible="false"/>
|
<component id="n46_u4l2" name="btn_rule1" src="f55qvn" fileName="component/Main/component/Folder/component/phone_info/Btn_log.xml" xy="562,-92" size="157,4" group="n150_8th3" visible="false"/>
|
||||||
<group id="n150_8th3" name="n150" xy="0,-92" size="1268,178" advanced="true">
|
<group id="n150_8th3" name="n150" xy="0,-92" size="1317,164" advanced="true">
|
||||||
<relation target="" sidePair="left-left"/>
|
<relation target="" sidePair="left-left"/>
|
||||||
</group>
|
</group>
|
||||||
<image id="n152_8th3" name="n152" src="f55qvu" fileName="component/Main/images/di00.png" xy="377,-91" size="580,86" visible="false">
|
<image id="n152_8th3" name="n152" src="f55qvu" fileName="component/Main/images/di00.png" xy="377,-91" size="580,86" visible="false">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue