1
This commit is contained in:
parent
a90c900453
commit
4f87a87c93
@ -104,4 +104,10 @@ func (this *matchMgr) execMatch(m *matchingInfo) {
|
|||||||
func (this *matchMgr) onMatchOk(m *matchingInfo) {
|
func (this *matchMgr) onMatchOk(m *matchingInfo) {
|
||||||
f5.GetTimer().DeleteRunningTimer()
|
f5.GetTimer().DeleteRunningTimer()
|
||||||
f5.GetTimer().Delete(m.matchOk.matchTimerWp)
|
f5.GetTimer().Delete(m.matchOk.matchTimerWp)
|
||||||
|
|
||||||
|
m.team.setMatchOk(m.matchOk.team)
|
||||||
|
m.matchOk.team.setMatchOk(m.team)
|
||||||
|
|
||||||
|
m.team.onMatchOk()
|
||||||
|
m.matchOk.team.onMatchOk()
|
||||||
}
|
}
|
||||||
|
@ -119,6 +119,12 @@ func (this *team) IsLock() bool {
|
|||||||
return this.Started() || this.Matching()
|
return this.Started() || this.Matching()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *team) setMatchOk(targetM *team) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *team) onMatchOk() {
|
||||||
|
}
|
||||||
|
|
||||||
func (this *team) CanStartGame(hum common.Player) bool {
|
func (this *team) CanStartGame(hum common.Player) bool {
|
||||||
if !this.IsLock() {
|
if !this.IsLock() {
|
||||||
if this.GetMemberNum() > 0 {
|
if this.GetMemberNum() > 0 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user