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