【跨服天梯】 提交
parent
e3960fc466
commit
50743a36b7
|
|
@ -206,8 +206,19 @@ function this.ShowSingleData(go,data,i)
|
||||||
sdBtnRedPoint:SetActive(data.personInfo.worshipTime < 0)
|
sdBtnRedPoint:SetActive(data.personInfo.worshipTime < 0)
|
||||||
Util.AddOnceClick(sdBtn,function()
|
Util.AddOnceClick(sdBtn,function()
|
||||||
if data.personInfo.worshipTime < 0 then
|
if data.personInfo.worshipTime < 0 then
|
||||||
NetManager.GetWorldArenaChallengeRequest(data.personInfo.serverId,data.personInfo.uid,function()
|
NetManager.GetWorldArenaChallengeRequest(data.personInfo.serverId,data.personInfo.uid,function(msg)
|
||||||
PopupTipPanel.ShowTip("膜拜成功,获得罗浮币X50!")
|
local itemId = 0
|
||||||
|
local itemNum = 0
|
||||||
|
if msg.drop.itemlist ~= nil and #msg.drop.itemlist > 0 then
|
||||||
|
for i = 1, #msg.drop.itemlist do
|
||||||
|
if msg.drop.itemlist[i].itemNum > 0 then
|
||||||
|
itemId = msg.drop.itemlist[i].itemId--
|
||||||
|
itemNum = msg.drop.itemlist[i].itemNum
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
PopupTipPanel.ShowTip(string.format("膜拜成功,获得%sX%s!"),ConfigManager.GetConfigData(ConfigName.ItemConfig,itemId).Name, itemNum)
|
||||||
|
-- PopupTipPanel.ShowColorTip(name, icon, num)
|
||||||
--刷新界面
|
--刷新界面
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue