|
@@ -31,6 +31,15 @@ func init() {
|
|
Processor.Register(&Shop{})
|
|
Processor.Register(&Shop{})
|
|
Processor.Register(&ReqGameInfo{})
|
|
Processor.Register(&ReqGameInfo{})
|
|
Processor.Register(&ResGameInfo{})
|
|
Processor.Register(&ResGameInfo{})
|
|
|
|
+ Processor.Register(&TeenPattiRoomList{})
|
|
|
|
+ Processor.Register(&TeenPattiRoom{})
|
|
|
|
+ Processor.Register(&ReqDealCard{})
|
|
|
|
+ Processor.Register(&ReqPlayerAction{})
|
|
|
|
+ Processor.Register(&ResPlayerOptAction{})
|
|
|
|
+ // Processor.Register(&PlayerOptType{})
|
|
|
|
+ Processor.Register(&PlayerOpt{})
|
|
|
|
+ Processor.Register(&ReqRound{})
|
|
|
|
+ Processor.Register(&MsgError{})
|
|
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{
|