登陆报错修改
parent
b18b4cfd58
commit
644d984c0a
|
@ -445,7 +445,7 @@ function this.ExecuteLoading()
|
||||||
--[[[12] =]] function() NetManager.GetActivityAllRewardRequest(LoadingPanel.OnStep) end, -- 活动奖励
|
--[[[12] =]] function() NetManager.GetActivityAllRewardRequest(LoadingPanel.OnStep) end, -- 活动奖励
|
||||||
--[[[13] =]] function() NetManager.RequestBaseArenaData(LoadingPanel.OnStep) end, -- 竞技场
|
--[[[13] =]] function() NetManager.RequestBaseArenaData(LoadingPanel.OnStep) end, -- 竞技场
|
||||||
--[[[14] =]] function() ShopManager.InitData(LoadingPanel.OnStep) end, -- 商店
|
--[[[14] =]] function() ShopManager.InitData(LoadingPanel.OnStep) end, -- 商店
|
||||||
--[[[15] =]] function() NetManager.GetWorkShopInfoRequest(LoadingPanel.OnStep) end, -- 工坊?
|
--[[[15] =]] --function() NetManager.GetWorkShopInfoRequest(LoadingPanel.OnStep) end, -- 工坊?
|
||||||
--[[[16] =]] function() ChatManager.InitData(LoadingPanel.OnStep) end, -- 聊天
|
--[[[16] =]] function() ChatManager.InitData(LoadingPanel.OnStep) end, -- 聊天
|
||||||
--[[[17] =]] function() NetManager.GetAllFunState(LoadingPanel.OnStep) end, -- 功能开启信息
|
--[[[17] =]] function() NetManager.GetAllFunState(LoadingPanel.OnStep) end, -- 功能开启信息
|
||||||
--[[[18] =]] function() NetManager.RequestGetFriendInfo(1, LoadingPanel.OnStep) end, -- 好友
|
--[[[18] =]] function() NetManager.RequestGetFriendInfo(1, LoadingPanel.OnStep) end, -- 好友
|
||||||
|
|
|
@ -412,18 +412,18 @@ function this.CheckNewVipRP()
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.CheckGrowthPackagePointStatus()--成长礼包
|
function this.CheckGrowthPackagePointStatus()--成长礼包
|
||||||
local redointTime =PlayerPrefs.GetInt(PlayerManager.uid.."czlb", 0)
|
-- local redointTime =PlayerPrefs.GetInt(PlayerManager.uid.."czlb", 0)
|
||||||
local rechargeNum= VipManager.GetChargedNum()--已经充值的金额
|
-- local rechargeNum= VipManager.GetChargedNum()--已经充值的金额
|
||||||
local shopData = ShopManager.GetShopDataByType(SHOP_TYPE.VIP_GIFT).storeItem
|
-- local shopData = ShopManager.GetShopDataByType(SHOP_TYPE.VIP_GIFT).storeItem
|
||||||
local shopItemConfig = ConfigManager.GetConfig(ConfigName.StoreConfig)
|
-- local shopItemConfig = ConfigManager.GetConfig(ConfigName.StoreConfig)
|
||||||
for i = 1, #shopData do
|
-- for i = 1, #shopData do
|
||||||
local boughtNum = ShopManager.GetShopItemHadBuyTimes(SHOP_TYPE.VIP_GIFT, shopData[i].id)
|
-- local boughtNum = ShopManager.GetShopItemHadBuyTimes(SHOP_TYPE.VIP_GIFT, shopData[i].id)
|
||||||
if rechargeNum >= shopItemConfig[shopData[i].id].BuyRule[2] and boughtNum == 0 then
|
-- if rechargeNum >= shopItemConfig[shopData[i].id].BuyRule[2] and boughtNum == 0 then
|
||||||
if redointTime == 0 then
|
-- if redointTime == 0 then
|
||||||
return true
|
-- return true
|
||||||
end
|
-- end
|
||||||
end
|
-- end
|
||||||
end
|
-- end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -302,7 +302,7 @@ function this.InitializeTechnologyDataList(backTechnologyInfo)
|
||||||
end
|
end
|
||||||
this.SetTreePointOpenState()
|
this.SetTreePointOpenState()
|
||||||
this.GetAllTreeLvEndNum()
|
this.GetAllTreeLvEndNum()
|
||||||
this.WorkShopTreeRefreshNum = ShopManager.GetShopItemData(SHOP_TYPE.FUNCTION_SHOP, 10011).buyNum
|
--this.WorkShopTreeRefreshNum = ShopManager.GetShopItemData(SHOP_TYPE.FUNCTION_SHOP, 10011).buyNum
|
||||||
end
|
end
|
||||||
--增加天赋树刷新次数
|
--增加天赋树刷新次数
|
||||||
function this.SetTreeRefreshNum(_num)
|
function this.SetTreeRefreshNum(_num)
|
||||||
|
|
Loading…
Reference in New Issue