1
This commit is contained in:
parent
c95cb8b4ca
commit
879287447a
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user