1
This commit is contained in:
parent
748ee83d63
commit
a090e3136e
@ -11,6 +11,7 @@ import (
|
|||||||
"main/constant"
|
"main/constant"
|
||||||
"main/common"
|
"main/common"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
|
"github.com/gin-gonic/gin"
|
||||||
. "main/global"
|
. "main/global"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -70,11 +71,16 @@ func (this *playerMgr) Init() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
f5.GetApp().RegisterCaHandle("User", "queryStatus", this.queryStatusHandle)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *playerMgr) UnInit() {
|
func (this *playerMgr) UnInit() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *playerMgr) queryStatusHandle(c *gin.Context) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
func (this *playerMgr) CMLogin(hdr *f5.MsgHdr, msg *cs.CMLogin) {
|
func (this *playerMgr) CMLogin(hdr *f5.MsgHdr, msg *cs.CMLogin) {
|
||||||
{
|
{
|
||||||
oldHum := this.internalGetPlayerBySocket(hdr.GetSocket())
|
oldHum := this.internalGetPlayerBySocket(hdr.GetSocket())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user