refactor: 移除转发模式相关代码

This commit is contained in:
flswld committed 2025-01-21 11:42:49 +08:00
1 parent 714db87565
commit 853f6003a3
113 files changed
+597 -11000

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ func NewCmdProtoMap() (r *CmdProtoMap) {
r.cmdNameCmdIdMap = make(map[string]uint16)
r.cmdIdProtoObjCacheMap = make(map[uint16]*sync.Pool)
r.cmdIdProtoObjFastNewMap = make(map[uint16]func() any)
if config.GetConfig().Hk4e.ForwardModeEnable || config.GetConfig().Hk4e.RegisterAllProtoMessage {
if config.GetConfig().Hk4e.RegisterAllProtoMessage {
r.registerAllMessage()
} else {
r.registerMessage()