小游戏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, -- 巅峰赛商店
|
||||
FINDFAIRY_GIFT=22, --寻仙限时礼包
|
||||
BUYCOIN_SHOP=57, --点金商店
|
||||
SOULBOX_SHOP=58, --宝囊限时商店
|
||||
}
|
||||
|
||||
PropertyTypeIconDef = {
|
||||
|
|
|
@ -76,25 +76,19 @@ function this.Show()
|
|||
cFront.transform:DORotate(Vector3.New(0, 0, 0), 0.3)
|
||||
coroutine.wait(0.2)
|
||||
--请求奖励
|
||||
if this.gameParams[index] == -1 then
|
||||
PopupTipPanel.ShowTip(Language[12186])
|
||||
TrialMiniGameManager.EndGame()
|
||||
else
|
||||
TrialMiniGameManager.GameOperate(index, function(msg)
|
||||
-- UIManager.OpenPanel(UIName.RewardItemPopup, msg.drop, 1, function()
|
||||
-- canGetTime = msg.gameStatus
|
||||
-- if canGetTime == 0 then
|
||||
-- TrialMiniGameManager.EndGame()
|
||||
-- end
|
||||
-- end)
|
||||
TrialMiniGameManager.GameOperate(index, function(msg)
|
||||
if msg.resultId == -1 then
|
||||
PopupTipPanel.ShowTip(Language[12186])
|
||||
TrialMiniGameManager.EndGame()
|
||||
else
|
||||
local data = TrialMiniGameManager.IdToNameIconNum(msg.drop.itemlist[1].itemId,msg.drop.itemlist[1].itemNum)
|
||||
PopupTipPanel.ShowColorTip(data[1],data[2],data[3])
|
||||
canGetTime = msg.gameStatus
|
||||
if canGetTime == 0 then
|
||||
TrialMiniGameManager.EndGame()
|
||||
end
|
||||
end)
|
||||
end
|
||||
end
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
||||
|
|
Loading…
Reference in New Issue