From 16c211b741e93989728158d2d62656299ca11ab5 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Fri, 21 Jul 2023 18:56:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BA=A6=E4=BD=8D=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocol/userProxy.proto | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/protocol/userProxy.proto b/protocol/userProxy.proto index ecf8630..7eb878e 100644 --- a/protocol/userProxy.proto +++ b/protocol/userProxy.proto @@ -426,4 +426,46 @@ message LeaveRoom { /* id == 154 房间心跳 */ message RoomHeartBeat { string group_id = 1; +} + +/* id == 155 麦位变化 */ +message GroupMicChange { + string group_id = 1; + uint32 i = 2; + bool lock = 3; + bool forbid = 4; + bool micForbid = 5; + string externalId = 6; + string agoraId = 7; + int64 timestamp = 8; + MicUserData user = 9; +} + +message MicUserData { + uint64 id = 1; + string externalId = 2; + string avatar = 3; + string nick = 4; + uint32 sex = 5; + string code = 6; + bool isVip = 7; + uint32 noble = 8; + string headwearPicUrl = 9; + string headwearEffectUrl = 10; + string headwearReverseEffectUrl = 11; + int32 svipLevel = 12; + string micEffect = 14; + string headwearIcon = 15; +} + +message CvSvip { + int32 svipLevel = 1; + repeated CVSvipPrivilege privileges = 2; +} + +message CVSvipPrivilege { + int32 type = 1; + bool canSwitch = 2; + bool userSwitch = 3; + string mysteryCode = 4; } \ No newline at end of file -- 2.22.0