xiaoyang0346 1 week ago
parent
commit
cb8c32f109
2 changed files with 6 additions and 54 deletions
  1. 3 15
      s_to_proto/shared/hc/PtlHcInfo.ts
  2. 3 39
      s_to_proto/shared/serviceProto.ts

+ 3 - 15
s_to_proto/shared/hc/PtlHcInfo.ts

@@ -23,23 +23,11 @@ export interface HcInfoList {
 }
 
 export interface HcInfoGeziInfo {
-    type:HcType   //具体物品类型
-    unlock:HcUnlock  //解锁状态
+    type:number   //具体物品类型 0:无物品 1:发射器 2:怪物 3:装备 4:材料
+    unlock:number  //解锁状态 0关 1开
     correlationId:number  //物品ID
 }
-//具体物品类型
-export enum HcType {
-    wu = 0, //无物品
-    emitter = 1, //发射器
-    monster = 2, //怪物
-    equip = 3, //装备
-    material = 4, //材料
-}
-//解锁状态
-export enum HcUnlock {
-    off = 0, //关
-    on = 1, //开
-}
+
 
 export const conf = {
     connet: "ws"

+ 3 - 39
s_to_proto/shared/serviceProto.ts

@@ -161,7 +161,7 @@ export interface ServiceType {
 }
 
 export const serviceProto: ServiceProto<ServiceType> = {
-    "version": 41,
+    "version": 42,
     "services": [
         {
             "id": 39,
@@ -993,16 +993,14 @@ export const serviceProto: ServiceProto<ServiceType> = {
                     "id": 0,
                     "name": "type",
                     "type": {
-                        "type": "Reference",
-                        "target": "hc/PtlHcInfo/HcType"
+                        "type": "Number"
                     }
                 },
                 {
                     "id": 1,
                     "name": "unlock",
                     "type": {
-                        "type": "Reference",
-                        "target": "hc/PtlHcInfo/HcUnlock"
+                        "type": "Number"
                     }
                 },
                 {
@@ -1014,40 +1012,6 @@ export const serviceProto: ServiceProto<ServiceType> = {
                 }
             ]
         },
-        "hc/PtlHcInfo/HcType": {
-            "type": "Enum",
-            "members": [
-                {
-                    "id": 0,
-                    "value": 0
-                },
-                {
-                    "id": 1,
-                    "value": 1
-                },
-                {
-                    "id": 2,
-                    "value": 2
-                },
-                {
-                    "id": 3,
-                    "value": 3
-                }
-            ]
-        },
-        "hc/PtlHcInfo/HcUnlock": {
-            "type": "Enum",
-            "members": [
-                {
-                    "id": 0,
-                    "value": 0
-                },
-                {
-                    "id": 1,
-                    "value": 1
-                }
-            ]
-        },
         "hc/PtlHcMerge/ReqHcMerge": {
             "type": "Interface",
             "properties": [