mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-16 09:24:47 +08:00
提交引擎优化
This commit is contained in:
@@ -30,7 +30,9 @@ type MsgProcessor struct {
|
||||
}
|
||||
|
||||
|
||||
|
||||
func (slf *MsgProcessor) InitProcessor(){
|
||||
slf.mapMsg = make(map[uint16]MessageInfo)
|
||||
}
|
||||
|
||||
func (slf *MsgProcessor) RegMessage(msgtype uint16,msg proto.Message,handle MessageHandler){
|
||||
var info MessageInfo
|
||||
|
||||
Reference in New Issue
Block a user