refactor: 移除转发模式相关代码
This commit is contained in:
1 parent
714db87565
commit
853f6003a3
113 files changed
+597
-11000
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user