Gogs 1 неделя назад
Родитель
Сommit
b769020cb8
2 измененных файлов с 5 добавлено и 0 удалено
  1. 4 0
      bin/client_msg/msg.ts
  2. 1 0
      src/server/msg/msg.go

+ 4 - 0
bin/client_msg/msg.ts

@@ -20,4 +20,8 @@ export enum MsgID {
     ResMatchLudo = 17,
     NotifyUpdateRoomInfo = 18,
     BeKickLogin = 19,
+<<<<<<< HEAD
+=======
+    UpdateUserInfo = 20,
+>>>>>>> 2ecde32175e8ba468084ddfc07a1ec19028ff79f
 }

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

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