【跨服天梯】世界等级 加空推送协议
parent
7729c433e7
commit
f553b7275d
|
|
@ -116,6 +116,9 @@ function this.RegisterMessage(network)
|
|||
--公户副本推送
|
||||
socket:RegistNetMessage(MessageTypeProto_pb.GUILD_CHALLENGE_BUY_BUFF_INDICATION, this.GuildChallengeBuyBuffIndication)
|
||||
socket:RegistNetMessage(MessageTypeProto_pb.HERO_SKIN_USE_INDICATION, this.HeroSkinUseIndication)
|
||||
--跨服天梯信息推送
|
||||
-- socket:RegistNetMessage(MessageTypeProto_pb.HERO_SKIN_USE_INDICATION, this.GetWorldArenaInfoIndication)
|
||||
socket:RegistNetMessage(MessageTypeProto_pb.WorldLevelIndication, this.WorldLevelIndication)
|
||||
end
|
||||
|
||||
function this.HeroSkinUseIndication(buffer)
|
||||
|
|
@ -803,5 +806,11 @@ function this.GuildChallengeBuyBuffIndication(buffer)
|
|||
-- LogGreen("%%%%%%%%%%%msg.buffCount: "..msg.buffCount.." msg.buffTime: "..msg.buffTime)
|
||||
GuildTranscriptManager.RefreshGuildTranscriptBuffInfo(msg)
|
||||
end
|
||||
|
||||
function this.WorldLevelIndication(buffer)
|
||||
local data = buffer:DataByte()
|
||||
local msg = PlayerInfoProto_pb.WorldLevelIndication()
|
||||
msg:ParseFromString(data)
|
||||
-- LogError("%%%%%%%%%%世界等级推送 "..msg.worldLeve)
|
||||
-- PlayerManager.RefreshWorldLeveData(msg.worldLeve)
|
||||
end
|
||||
return this
|
||||
Loading…
Reference in New Issue