This commit is contained in:
aozhiwei 2024-03-19 16:33:22 +08:00
parent 85a6613d46
commit aff32c9c75

View File

@ -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 {