Merge branch 'china/dev' into 0活动开发聚集地/寻宝迷踪
commit
06b3814099
|
@ -15,7 +15,6 @@ end
|
|||
|
||||
function this.InitData(func)
|
||||
local id = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.lingLongBaoJing)
|
||||
LogGreen("id:"..tostring(id))
|
||||
if not id or id < 1 then
|
||||
hitList = {}
|
||||
rewardList = {}
|
||||
|
@ -29,10 +28,10 @@ function this.InitData(func)
|
|||
hitList = msg.hitList
|
||||
if not msg.hitList or #msg.hitList < 1 then
|
||||
else
|
||||
LogGreen("msg.hitList:"..#msg.hitList)
|
||||
for i = 1,#msg.hitList do
|
||||
LogGreen("msg.hitList:"..msg.hitList[i])
|
||||
end
|
||||
-- LogGreen("msg.hitList:"..#msg.hitList)
|
||||
-- for i = 1,#msg.hitList do
|
||||
-- LogGreen("msg.hitList:"..msg.hitList[i])
|
||||
-- end
|
||||
this.SetDataListState(hitList)
|
||||
end
|
||||
if func then
|
||||
|
@ -111,7 +110,6 @@ function this.CheckRedPointLingLong()
|
|||
local config = ConfigManager.GetConfigData(ConfigName.SpecialConfig,117)
|
||||
local strs = string.split(config.Value,"|")
|
||||
local costId = tonumber(strs[1])
|
||||
LogGreen("BagManager.GetItemCountById(costId):"..BagManager.GetItemCountById(costId))
|
||||
if BagManager.GetItemCountById(costId) > 0 then
|
||||
return true
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue