1
This commit is contained in:
parent
b7b090b625
commit
feddb3bfbd
@ -48,7 +48,7 @@ func (this *App_) Update() {
|
|||||||
if ok {
|
if ok {
|
||||||
handlerId := cs.GetMsgHandlerId(hdr.MsgId)
|
handlerId := cs.GetMsgHandlerId(hdr.MsgId)
|
||||||
if handlerId == PLAYER_MGR_HANDLER_ID {
|
if handlerId == PLAYER_MGR_HANDLER_ID {
|
||||||
cs.DispatchMsg(hdr.MsgId, PlayerMgr)
|
cs.DispatchMsg(hdr, PlayerMgr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
next.Del()
|
next.Del()
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
package cs
|
package cs
|
||||||
|
|
||||||
|
import (
|
||||||
|
"q5"
|
||||||
|
)
|
||||||
|
|
||||||
func ParsePb(msgId int, data []byte) interface{} {
|
func ParsePb(msgId int, data []byte) interface{} {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -32,6 +36,6 @@ func GetMsgHandlerId(msgId int) (int) {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func DispatchMsg(msgId int, msgHandler MsgHandler) {
|
func DispatchMsg(hdr *q5.MsgHdr, msgHandler MsgHandler) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user