|
@@ -22,6 +22,7 @@ var msgList []MsgInfo
|
|
|
func init() {
|
|
|
Processor.Register(&Hello{})
|
|
|
Processor.Register(&ReqLogin{})
|
|
|
+ Processor.Register(&RespLogin{})
|
|
|
Processor.Range(func(id uint16, t reflect.Type) {
|
|
|
log.Debug("消息ID: %d, 消息类型: %s\n", id, t.Elem().Name())
|
|
|
msgList = append(msgList, MsgInfo{
|