From 705220f69cd1452127f235fc4e9c8d1b822fb918 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Mon, 11 Sep 2023 09:33:03 +0800 Subject: [PATCH] feature/4.4.0 --- protocol/userCenter.proto | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/protocol/userCenter.proto b/protocol/userCenter.proto index d827270..c20e730 100644 --- a/protocol/userCenter.proto +++ b/protocol/userCenter.proto @@ -122,6 +122,16 @@ message GetLastRoomHeartbeatMessageResp { int64 timestamp = 1; } +message AreaMessage { + int32 area = 1; + uint32 msgType = 2; + bytes payLoad = 3; +} + +message AreaMessageRsp { + repeated uint64 failedUids = 1; +} + service Router { rpc route(RouteMessage) returns (RouteMessageRsp) {} rpc kickUser(KickMessage) returns (KickMessageRsp) {} @@ -132,6 +142,7 @@ service User { rpc logout(LogoutMessage) returns (LogoutMessageRsp) {} rpc multicast(MulticastMessage) returns (MulticastMessageRsp) {} rpc broadcast(BroadcastMessage) returns (BroadcastMessageRsp) {} + rpc areacast(AreaMessage) returns (AreaMessageRsp) {} rpc transmit(BizMessage) returns (BizMessageRsp) {} rpc enterRoom(EnterRoomMessage) returns (EnterRoomMessageRsp) {} rpc leaveRoom(LeaveRoomMessage) returns (LeaveRoomMessageRsp) {} -- 2.22.0