【跨服天梯】加一个空推送

dev_chengFeng
zhangqiang 2020-12-28 13:56:06 +08:00
parent 46d090b509
commit 7729c433e7
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ function this.RegisterMessage(network)
local socket = network.socket
-- 监听服务器跨天状态N
socket:RegistNetMessage(MessageTypeProto_pb.FIVE_PLAYER_REFLUSH_INDICATION, this.RefreshUpdateIndication)
socket:RegistNetMessage(MessageTypeProto_pb.ZeroPlayerUpdateIndication, this.ZeroRefreshUpdateIndication)
--监听红点推送
socket:RegistNetMessage(MessageTypeProto_pb.SEND_RED_POINT_INDICATION, this.ReceiveRedPoint)
@ -198,6 +199,8 @@ function this.RefreshUpdateIndication(buffer)
GuildTranscriptManager.SetCanSweep1()
end
function this.ZeroRefreshUpdateIndication()
end
--服务器推送红点信息
function this.ReceiveRedPoint(buffer)
local data = buffer:DataByte()