playermgr.go init data

This commit is contained in:
殷勇 2023-08-14 16:44:44 +08:00
parent 912b1c20bd
commit d6fd0137e9

View File

@ -16,6 +16,9 @@ type PlayerMgr struct {
}
func (this *PlayerMgr) init() {
this.accountIdHash = make(map[string]*Player)
this.socketHash = make(map[f5.WspCliConn]*Player)
f5.GetTimer().SetInterval(
1000,
func(e int32, args *q5.Args) {