1
This commit is contained in:
parent
1f58f81f28
commit
c2c0644f31
@ -370,9 +370,13 @@ func (this *team) genStartGameInfo() {
|
|||||||
payload := sign + ":" + "normal_room|" + q5.EncodeJson(&startInfo)
|
payload := sign + ":" + "normal_room|" + q5.EncodeJson(&startInfo)
|
||||||
this.stateNotifyMsg.JoinMsg.TeamUuid = proto.String(this.getMainTeam().GetTeamUuid())
|
this.stateNotifyMsg.JoinMsg.TeamUuid = proto.String(this.getMainTeam().GetTeamUuid())
|
||||||
this.stateNotifyMsg.JoinMsg.Payload = proto.String(payload)
|
this.stateNotifyMsg.JoinMsg.Payload = proto.String(payload)
|
||||||
|
this.genNextCopyTeam()
|
||||||
this.stateNotifyMsg.NextTeamUuid = proto.String(this.nextTeamUuid)
|
this.stateNotifyMsg.NextTeamUuid = proto.String(this.nextTeamUuid)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *team) genNextCopyTeam() {
|
||||||
|
}
|
||||||
|
|
||||||
func (this *team) broadcastMsg(msg proto.Message) {
|
func (this *team) broadcastMsg(msg proto.Message) {
|
||||||
for _, m := range this.accountIdHash {
|
for _, m := range this.accountIdHash {
|
||||||
m.SendMsg(msg)
|
m.SendMsg(msg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user