1
This commit is contained in:
parent
cfa327c1e9
commit
b74b9e82c0
@ -545,6 +545,10 @@ func (this *SMSetJoinCond) GetNetMsgId() uint16 {
|
|||||||
return uint16(SMMessageIdE__SMSetJoinCond)
|
return uint16(SMMessageIdE__SMSetJoinCond)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *SMUserStatusNotify) GetNetMsgId() uint16 {
|
||||||
|
return uint16(SMMessageIdE__SMUserStatusNotify)
|
||||||
|
}
|
||||||
|
|
||||||
func (this *SMLogin) Err(errCode int32, errMsg string) *SMLogin {
|
func (this *SMLogin) Err(errCode int32, errMsg string) *SMLogin {
|
||||||
this.Errcode = proto.Int32(errCode)
|
this.Errcode = proto.Int32(errCode)
|
||||||
this.Errmsg = proto.String(errMsg)
|
this.Errmsg = proto.String(errMsg)
|
||||||
|
@ -112,4 +112,5 @@ enum SMMessageId_e
|
|||||||
_SMSetMemberLevelNotify = 1012;
|
_SMSetMemberLevelNotify = 1012;
|
||||||
_SMApplyToGuildNotify = 1013;
|
_SMApplyToGuildNotify = 1013;
|
||||||
_SMLeaveGuildNotify = 1014;
|
_SMLeaveGuildNotify = 1014;
|
||||||
|
_SMUserStatusNotify = 1015;
|
||||||
}
|
}
|
||||||
|
@ -152,7 +152,8 @@ message MFGuildMember
|
|||||||
optional int32 battling = 12;
|
optional int32 battling = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
message MFUser {
|
message MFUser
|
||||||
|
{
|
||||||
optional string account_id = 1;
|
optional string account_id = 1;
|
||||||
optional string username = 2;
|
optional string username = 2;
|
||||||
optional int32 avatar = 3;
|
optional int32 avatar = 3;
|
||||||
@ -731,3 +732,11 @@ message SMSetJoinCond
|
|||||||
optional int32 errcode = 1;
|
optional int32 errcode = 1;
|
||||||
optional string errmsg = 2;
|
optional string errmsg = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//用户状态变更新通知
|
||||||
|
message SMUserStatusNotify
|
||||||
|
{
|
||||||
|
optional string account_id = 1;
|
||||||
|
optional int32 online_status = 2;
|
||||||
|
optional int32 battling = 3;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user