小游戏18bugxiugai
parent
8e853b2758
commit
10a2181305
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
@ -505,6 +505,7 @@ SHOP_TYPE = {
|
||||||
TOP_MATCH_SHOP = 21, -- 巅峰赛商店
|
TOP_MATCH_SHOP = 21, -- 巅峰赛商店
|
||||||
FINDFAIRY_GIFT=22, --寻仙限时礼包
|
FINDFAIRY_GIFT=22, --寻仙限时礼包
|
||||||
BUYCOIN_SHOP=57, --点金商店
|
BUYCOIN_SHOP=57, --点金商店
|
||||||
|
SOULBOX_SHOP=58, --宝囊限时商店
|
||||||
}
|
}
|
||||||
|
|
||||||
PropertyTypeIconDef = {
|
PropertyTypeIconDef = {
|
||||||
|
|
|
@ -76,25 +76,19 @@ function this.Show()
|
||||||
cFront.transform:DORotate(Vector3.New(0, 0, 0), 0.3)
|
cFront.transform:DORotate(Vector3.New(0, 0, 0), 0.3)
|
||||||
coroutine.wait(0.2)
|
coroutine.wait(0.2)
|
||||||
--请求奖励
|
--请求奖励
|
||||||
if this.gameParams[index] == -1 then
|
TrialMiniGameManager.GameOperate(index, function(msg)
|
||||||
PopupTipPanel.ShowTip(Language[12186])
|
if msg.resultId == -1 then
|
||||||
TrialMiniGameManager.EndGame()
|
PopupTipPanel.ShowTip(Language[12186])
|
||||||
else
|
TrialMiniGameManager.EndGame()
|
||||||
TrialMiniGameManager.GameOperate(index, function(msg)
|
else
|
||||||
-- UIManager.OpenPanel(UIName.RewardItemPopup, msg.drop, 1, function()
|
|
||||||
-- canGetTime = msg.gameStatus
|
|
||||||
-- if canGetTime == 0 then
|
|
||||||
-- TrialMiniGameManager.EndGame()
|
|
||||||
-- end
|
|
||||||
-- end)
|
|
||||||
local data = TrialMiniGameManager.IdToNameIconNum(msg.drop.itemlist[1].itemId,msg.drop.itemlist[1].itemNum)
|
local data = TrialMiniGameManager.IdToNameIconNum(msg.drop.itemlist[1].itemId,msg.drop.itemlist[1].itemNum)
|
||||||
PopupTipPanel.ShowColorTip(data[1],data[2],data[3])
|
PopupTipPanel.ShowColorTip(data[1],data[2],data[3])
|
||||||
canGetTime = msg.gameStatus
|
canGetTime = msg.gameStatus
|
||||||
if canGetTime == 0 then
|
if canGetTime == 0 then
|
||||||
TrialMiniGameManager.EndGame()
|
TrialMiniGameManager.EndGame()
|
||||||
end
|
end
|
||||||
end)
|
end
|
||||||
end
|
end)
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue