1
This commit is contained in:
parent
19dafb6aad
commit
3dd292a486
@ -138,7 +138,6 @@ message MFTeam
|
|||||||
{
|
{
|
||||||
optional string team_uuid = 1; //队伍唯一id
|
optional string team_uuid = 1; //队伍唯一id
|
||||||
repeated MFTeamMember members = 2; //成员信息
|
repeated MFTeamMember members = 2; //成员信息
|
||||||
optional string next_team_uuid = 3; //下一次队伍唯一id
|
|
||||||
optional int32 map_id = 4; //地图id
|
optional int32 map_id = 4; //地图id
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -326,6 +325,7 @@ message SMTeamStateNotify
|
|||||||
{
|
{
|
||||||
optional int32 state = 1; //0:已取消 1:已开始 2:正在匹配(moba模式)
|
optional int32 state = 1; //0:已取消 1:已开始 2:正在匹配(moba模式)
|
||||||
optional MFJoinMsg join_msg = 2; //进入房间传的字段(只有一开始才生效)
|
optional MFJoinMsg join_msg = 2; //进入房间传的字段(只有一开始才生效)
|
||||||
|
optional string next_team_uuid = 3; //下一次队伍唯一id(当state=1是才有效)
|
||||||
}
|
}
|
||||||
|
|
||||||
//队伍解散通知
|
//队伍解散通知
|
||||||
|
@ -376,7 +376,6 @@ func (this *team) SendUpdateNotify() {
|
|||||||
notifyMsg := &cs.SMTeamUpdateNotify{}
|
notifyMsg := &cs.SMTeamUpdateNotify{}
|
||||||
notifyMsg.TeamInfo = &cs.MFTeam{}
|
notifyMsg.TeamInfo = &cs.MFTeam{}
|
||||||
notifyMsg.TeamInfo.TeamUuid = proto.String(this.teamUuid)
|
notifyMsg.TeamInfo.TeamUuid = proto.String(this.teamUuid)
|
||||||
notifyMsg.TeamInfo.NextTeamUuid = proto.String(this.nextTeamUuid)
|
|
||||||
notifyMsg.TeamInfo.MapId = proto.Int32(this.mapInfo.MapId)
|
notifyMsg.TeamInfo.MapId = proto.Int32(this.mapInfo.MapId)
|
||||||
q5.NewSlice(¬ifyMsg.TeamInfo.Members, 0, 1)
|
q5.NewSlice(¬ifyMsg.TeamInfo.Members, 0, 1)
|
||||||
for _, m := range this.accountIdHash {
|
for _, m := range this.accountIdHash {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user