|
@@ -37,9 +37,10 @@ func init() {
|
|
Processor.Register(&ReqPlayerAction{})
|
|
Processor.Register(&ReqPlayerAction{})
|
|
Processor.Register(&ResPlayerOptAction{})
|
|
Processor.Register(&ResPlayerOptAction{})
|
|
// Processor.Register(&PlayerOptType{})
|
|
// Processor.Register(&PlayerOptType{})
|
|
- Processor.Register(&PlayerOpt{})
|
|
|
|
|
|
+ // Processor.Register(&PlayerOpt{})
|
|
Processor.Register(&ReqRound{})
|
|
Processor.Register(&ReqRound{})
|
|
- Processor.Register(&MsgError{})
|
|
|
|
|
|
+ // Processor.Register(&MsgError{})
|
|
|
|
+ Processor.Register(&ReqPlayerList{})
|
|
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{
|