This commit is contained in:
aozhiwei 2024-04-20 15:43:20 +08:00
parent 748ee83d63
commit a090e3136e

View File

@ -11,6 +11,7 @@ import (
"main/constant"
"main/common"
"math/rand"
"github.com/gin-gonic/gin"
. "main/global"
)
@ -70,11 +71,16 @@ func (this *playerMgr) Init() {
}
})
f5.GetApp().RegisterCaHandle("User", "queryStatus", this.queryStatusHandle)
}
func (this *playerMgr) UnInit() {
}
func (this *playerMgr) queryStatusHandle(c *gin.Context) {
}
func (this *playerMgr) CMLogin(hdr *f5.MsgHdr, msg *cs.CMLogin) {
{
oldHum := this.internalGetPlayerBySocket(hdr.GetSocket())