|
@@ -42,6 +42,7 @@ func init() {
|
|
Processor.Register(&ReqBet{})
|
|
Processor.Register(&ReqBet{})
|
|
// Processor.Register(&MsgError{})
|
|
// Processor.Register(&MsgError{})
|
|
Processor.Register(&ReqPlayerList{})
|
|
Processor.Register(&ReqPlayerList{})
|
|
|
|
+ Processor.Register(&ReqResult{})
|
|
Processor.Range(func(id uint16, t reflect.Type) {
|
|
Processor.Range(func(id uint16, t reflect.Type) {
|
|
log.Debug("消息ID: %d, 消息类型: %s\n", id, t.Elem().Name())
|
|
log.Debug("消息ID: %d, 消息类型: %s\n", id, t.Elem().Name())
|
|
msgList = append(msgList, MsgInfo{
|
|
msgList = append(msgList, MsgInfo{
|