This commit is contained in:
aozhiwei 2024-04-16 13:16:50 +08:00
parent c95cb8b4ca
commit 879287447a

View File

@ -1,14 +1,14 @@
package player
import (
"sync"
)
type playerMgr struct {
accountIdHash map[string]*player
accountIdHash sync.Map
}
func (this *playerMgr) Init() {
this.accountIdHash = make(map[string]*player)
}
func (this *playerMgr) UnInit() {