1
This commit is contained in:
parent
85a6613d46
commit
aff32c9c75
@ -12,6 +12,7 @@ type matchingInfo struct {
|
||||
team *team
|
||||
addTick int64
|
||||
entry q5.ListHead
|
||||
matchOk* matchingInfo
|
||||
}
|
||||
|
||||
type matchMgr struct {
|
||||
@ -40,6 +41,13 @@ func (this *matchMgr) addMatchingTeam(team *team) {
|
||||
this.mustBeZn(team.GetZnKey()).AddTail(&m.entry)
|
||||
}
|
||||
|
||||
func (this *matchMgr) cancelMatching(team *team) {
|
||||
m := this.getMatchingInfoByUuid(team.GetTeamUuid())
|
||||
if m != nil {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
func (this *matchMgr) getMatchingInfoByUuid(teamUuid string) *matchingInfo {
|
||||
team, ok := this.teamUuidHash[teamUuid]
|
||||
if ok {
|
||||
|
Loading…
x
Reference in New Issue
Block a user