探索提交
parent
e5494e65ab
commit
937ca23dc0
|
@ -1109,12 +1109,12 @@ function this.HomeLandIndication(buffer)
|
|||
-- end
|
||||
HomeLandManager.GetServerData(msg)
|
||||
end
|
||||
-- 家园功能解锁
|
||||
|
||||
function this.ExploreActivityIndication(buffer)
|
||||
local data = buffer:DataByte()
|
||||
local msg = ActivityProto_pb.ExploreActivityIndication()
|
||||
msg:ParseFromString(data)
|
||||
MyGuildManager.SetMyGuildExploreNums(msg.id,msg.exploreTimes)
|
||||
MyGuildManager.SetMyGuildExploreNums(msg.guildId,msg.exploreKillMonsterNum)
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.Activity.OnActivityProgressStateChange)
|
||||
end
|
||||
|
||||
|
|
|
@ -147,8 +147,10 @@ end
|
|||
|
||||
--刷新数据
|
||||
function ExpertPage:RefreshData(isTop,isAni)
|
||||
self.ActData = CommonActPageManager.GetData(self.actConfig.ActiveType)
|
||||
self.titleTip.text = string.format(self.tipText,self.ActData.value)
|
||||
if self.actConfig.ActiveType == ActivityTypeDef.zhongzhichengcheng then
|
||||
self.ActData = CommonActPageManager.GetData(self.actConfig.ActiveType)
|
||||
self.titleTip.text = string.format(self.tipText,self.ActData.value,MyGuildManager.GetMyGuildExploreNums())
|
||||
end
|
||||
if self.actConfig.RpType > 0 then
|
||||
CheckRedPointStatus(self.actConfig.RpType)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue