This commit is contained in:
aozhiwei 2024-05-09 17:52:15 +08:00
parent 963eafbe1e
commit 32ba61159a
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
package player package player
import ( import (
"f5"
"sync" "sync"
"main/common" "main/common"
) )
@ -32,6 +33,7 @@ func (this *playerMgr) ForceCreatePlayer(accountId string, sessionId string) com
p := newPlayer() p := newPlayer()
p.accountId = accountId p.accountId = accountId
p.sessionId = sessionId p.sessionId = sessionId
p.registerTime = f5.ExtractRegisterTimeFromSessionId(sessionId)
hum = p hum = p
this.accountIdHash.Store(p.accountId, p) this.accountIdHash.Store(p.accountId, p)
} }

2
third_party/f5 vendored

@ -1 +1 @@
Subproject commit d4433dc0ff809c078fcf2a1ed208e252efeb8756 Subproject commit 3ec5583dc555af82f93579c1f516e439b408b160