探索提交

dev_chengFeng
jiaoyangna 2022-01-21 14:06:30 +08:00
parent e5494e65ab
commit 937ca23dc0
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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