Commit 7d21e336 authored by hujiebin's avatar hujiebin

fix:svip

parent f74b3440
......@@ -462,16 +462,5 @@ message MicUserData {
uint32 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;
Svip svip = 16;
}
\ No newline at end of file
......@@ -402,7 +402,7 @@ func SendSvipUpgrade(nick, avatar string, svipLevel uint32, txGroupId string) er
// 发送socket的麦位变化
func SendSocketMicChange(seqId string, userId uint64, externalId, txGroupId string, i uint32, lock, forbid, micForbid bool, agoraId uint32,
micUserId uint64, micUserExternalId string, avatar, nick string, sex uint32, code string, isVip bool, noble uint32, headwearPicUrl, headwearEffectUrl, headwearReverseEffectUrl string,
svipLevel uint32, micEffect, headwearIcon string) error {
svipLevel uint32, micEffect, headwearIcon string, svip *userProxy.Svip) error {
var msg = &userProxy.GroupMicChange{
SeqId: seqId,
GroupId: txGroupId,
......@@ -428,6 +428,7 @@ func SendSocketMicChange(seqId string, userId uint64, externalId, txGroupId stri
SvipLevel: svipLevel,
MicEffect: micEffect,
HeadwearIcon: headwearIcon,
Svip: svip,
},
}
if buffer, err := proto.Marshal(msg); err == nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment