refactor: 移除转发模式相关代码
This commit is contained in:
1 parent
714db87565
commit
853f6003a3
113 files changed
+597
-11000
No files matched your search
@@ -63,7 +63,6 @@ func Run(ctx context.Context) error {
|
||||
TrackLine: config.GetConfig().Logger.TrackLine,
|
||||
TrackThread: config.GetConfig().Logger.TrackThread,
|
||||
EnableFile: config.GetConfig().Logger.EnableFile,
|
||||
FileMaxSize: config.GetConfig().Logger.FileMaxSize,
|
||||
DisableColor: config.GetConfig().Logger.DisableColor,
|
||||
EnableJson: config.GetConfig().Logger.EnableJson,
|
||||
})
|
||||
|
||||
@@ -59,7 +59,9 @@ func (h *Handle) run() {
|
||||
} else {
|
||||
h.DelPlayerAcCtx(serverMsg.UserId)
|
||||
}
|
||||
default:
|
||||
}
|
||||
default:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@ func (h *Handle) QueryPath(userId uint32, gateAppId string, payloadMsg pb.Messag
|
||||
func (h *Handle) ObstacleModifyNotify(userId uint32, gateAppId string, payloadMsg pb.Message) {
|
||||
ntf := payloadMsg.(*proto.ObstacleModifyNotify)
|
||||
logger.Debug("obstacle modify ntf: %v, uid: %v, gateAppId: %v", ntf, userId, gateAppId)
|
||||
return
|
||||
navMeshManager, exist := h.worldStatic.navMeshManagerMap[ntf.SceneId]
|
||||
if !exist {
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user