Gogs 4 月之前
父节点
当前提交
5d4c1b3077
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      src/server/msg/msg.go

+ 9 - 0
src/server/msg/msg.go

@@ -31,6 +31,15 @@ func init() {
 	Processor.Register(&Shop{})
 	Processor.Register(&ReqGameInfo{})
 	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) {
 		log.Debug("消息ID: %d, 消息类型: %s\n", id, t.Elem().Name())
 		msgList = append(msgList, MsgInfo{