This commit is contained in:
aozhiwei 2024-03-19 19:28:06 +08:00
parent 1f58f81f28
commit c2c0644f31

View File

@ -370,9 +370,13 @@ func (this *team) genStartGameInfo() {
payload := sign + ":" + "normal_room|" + q5.EncodeJson(&startInfo)
this.stateNotifyMsg.JoinMsg.TeamUuid = proto.String(this.getMainTeam().GetTeamUuid())
this.stateNotifyMsg.JoinMsg.Payload = proto.String(payload)
this.genNextCopyTeam()
this.stateNotifyMsg.NextTeamUuid = proto.String(this.nextTeamUuid)
}
func (this *team) genNextCopyTeam() {
}
func (this *team) broadcastMsg(msg proto.Message) {
for _, m := range this.accountIdHash {
m.SendMsg(msg)