playermgr.go init data
This commit is contained in:
parent
912b1c20bd
commit
d6fd0137e9
@ -16,6 +16,9 @@ type PlayerMgr struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *PlayerMgr) init() {
|
func (this *PlayerMgr) init() {
|
||||||
|
this.accountIdHash = make(map[string]*Player)
|
||||||
|
this.socketHash = make(map[f5.WspCliConn]*Player)
|
||||||
|
|
||||||
f5.GetTimer().SetInterval(
|
f5.GetTimer().SetInterval(
|
||||||
1000,
|
1000,
|
||||||
func(e int32, args *q5.Args) {
|
func(e int32, args *q5.Args) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user