This commit is contained in:
aozhiwei 2024-04-16 20:11:07 +08:00
parent cfa327c1e9
commit b74b9e82c0
3 changed files with 15 additions and 1 deletions

View File

@ -545,6 +545,10 @@ func (this *SMSetJoinCond) GetNetMsgId() uint16 {
return uint16(SMMessageIdE__SMSetJoinCond)
}
func (this *SMUserStatusNotify) GetNetMsgId() uint16 {
return uint16(SMMessageIdE__SMUserStatusNotify)
}
func (this *SMLogin) Err(errCode int32, errMsg string) *SMLogin {
this.Errcode = proto.Int32(errCode)
this.Errmsg = proto.String(errMsg)

View File

@ -112,4 +112,5 @@ enum SMMessageId_e
_SMSetMemberLevelNotify = 1012;
_SMApplyToGuildNotify = 1013;
_SMLeaveGuildNotify = 1014;
_SMUserStatusNotify = 1015;
}

View File

@ -152,7 +152,8 @@ message MFGuildMember
optional int32 battling = 12;
}
message MFUser {
message MFUser
{
optional string account_id = 1;
optional string username = 2;
optional int32 avatar = 3;
@ -731,3 +732,11 @@ message SMSetJoinCond
optional int32 errcode = 1;
optional string errmsg = 2;
}
//
message SMUserStatusNotify
{
optional string account_id = 1;
optional int32 online_status = 2;
optional int32 battling = 3;
}