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