排行榜修改提交
parent
19be216616
commit
bfe127012e
|
@ -33,7 +33,7 @@ function this.InitData(rankType,fun,id,rankIndex)
|
|||
end
|
||||
end
|
||||
end
|
||||
-- LogYellow("cur_rankType "..cur_rankType.." isCross "..isCross)
|
||||
--LogYellow("cur_rankType "..cur_rankType.." activiteId "..tostring(activiteId))
|
||||
NetManager.RequestRankInfo(rankType, function (msg)--请求数据
|
||||
this.ReceiveRankingData(msg,fun)
|
||||
end,activiteId,cur_rankIndex,isCross)
|
||||
|
|
|
@ -163,7 +163,12 @@ end
|
|||
function this.GetRankInfo(rankType,rankIndex)
|
||||
RankingManager.CurPage=0
|
||||
this.istop=true
|
||||
local curActivity = sData.activiteId > 0 and ActivityGiftManager.GetActivityIdByType(sData.activiteId) or nil
|
||||
local curActivity = 0
|
||||
if sData.rankType == RANK_TYPE.PERSON_CHALLENGE then
|
||||
curActivity = sData.activiteId
|
||||
else
|
||||
curActivity = sData.activiteId > 0 and ActivityGiftManager.GetActivityIdByType(sData.activiteId) or nil
|
||||
end
|
||||
RankingManager.InitData(rankType,function()
|
||||
this.SetRankingInfo(true, true)
|
||||
end,curActivity,rankIndex)
|
||||
|
|
Loading…
Reference in New Issue