This commit is contained in:
aozhiwei 2023-08-10 19:16:19 +08:00
parent bce3a2fed2
commit 0253d530ee
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ func (this *App_) Update() {
if ok {
handlerId := cs.GetMsgHandlerId(hdr.msgId)
if handlerId == PLAYER_MGR_HANDLER_ID {
cs.ProcessNsgMsg(hdr.msgId, PlayerMgr)
cs.DispatchMsg(hdr.msgId, PlayerMgr)
}
}
next.Del()

View File

@ -26,6 +26,6 @@ func GetMsgHandlerId(msgId int) (int) {
return 0
}
func ProcessNsgMsg(msgId int, msgHandler MsgHandler) {
func DispatchMsg(msgId int, msgHandler MsgHandler) {
}