This commit is contained in:
aozhiwei 2024-03-19 19:09:43 +08:00
parent 19dafb6aad
commit 3dd292a486
2 changed files with 1 additions and 2 deletions

View File

@ -138,7 +138,6 @@ message MFTeam
{
optional string team_uuid = 1; //id
repeated MFTeamMember members = 2; //
optional string next_team_uuid = 3; //id
optional int32 map_id = 4; //id
}
@ -326,6 +325,7 @@ message SMTeamStateNotify
{
optional int32 state = 1; //0 1 2(moba模式)
optional MFJoinMsg join_msg = 2; //()
optional string next_team_uuid = 3; //id(state=1)
}
//

View File

@ -376,7 +376,6 @@ func (this *team) SendUpdateNotify() {
notifyMsg := &cs.SMTeamUpdateNotify{}
notifyMsg.TeamInfo = &cs.MFTeam{}
notifyMsg.TeamInfo.TeamUuid = proto.String(this.teamUuid)
notifyMsg.TeamInfo.NextTeamUuid = proto.String(this.nextTeamUuid)
notifyMsg.TeamInfo.MapId = proto.Int32(this.mapInfo.MapId)
q5.NewSlice(&notifyMsg.TeamInfo.Members, 0, 1)
for _, m := range this.accountIdHash {