xiaoyang0346 3 gün önce
ebeveyn
işleme
93ea956beb

+ 43 - 33
s_to_proto/docs/openapi.json

@@ -2688,49 +2688,23 @@
       },
       "hc_PtlHcEmit_ReqHcEmit": {
         "type": "object",
-        "properties": {},
-        "description": "请求接口"
-      },
-      "hc_PtlHcEmit_ResHcEmit": {
-        "type": "object",
-        "properties": {},
-        "description": "返回信息"
-      },
-      "hc_PtlHcInfo_ReqHcInfo": {
-        "type": "object",
-        "properties": {},
-        "description": "获取合成信息"
-      },
-      "hc_PtlHcInfo_ResHcInfo": {
-        "type": "object",
         "properties": {
-          "chapterId": {
-            "type": "number"
-          },
-          "tili": {
-            "type": "number"
-          },
-          "lastTime": {
-            "type": "number"
-          },
-          "list": {
-            "$ref": "#/components/schemas/hc_PtlHcInfo_HcInfoList"
+          "gzid": {
+            "type": "string"
           }
         },
         "required": [
-          "chapterId",
-          "tili",
-          "lastTime",
-          "list"
+          "gzid"
         ],
-        "description": "返回合成信息"
+        "description": "请求接口 点击发射器"
       },
-      "hc_PtlHcInfo_HcInfoList": {
+      "hc_PtlHcEmit_ResHcEmit": {
         "type": "object",
         "properties": {},
         "additionalProperties": {
           "$ref": "#/components/schemas/hc_PtlHcInfo_HcInfoGeziInfo"
-        }
+        },
+        "description": "返回信息"
       },
       "hc_PtlHcInfo_HcInfoGeziInfo": {
         "type": "object",
@@ -2768,6 +2742,42 @@
           1
         ]
       },
+      "hc_PtlHcInfo_ReqHcInfo": {
+        "type": "object",
+        "properties": {},
+        "description": "获取合成信息"
+      },
+      "hc_PtlHcInfo_ResHcInfo": {
+        "type": "object",
+        "properties": {
+          "chapterId": {
+            "type": "number"
+          },
+          "tili": {
+            "type": "number"
+          },
+          "lastTime": {
+            "type": "number"
+          },
+          "list": {
+            "$ref": "#/components/schemas/hc_PtlHcInfo_HcInfoList"
+          }
+        },
+        "required": [
+          "chapterId",
+          "tili",
+          "lastTime",
+          "list"
+        ],
+        "description": "返回合成信息"
+      },
+      "hc_PtlHcInfo_HcInfoList": {
+        "type": "object",
+        "properties": {},
+        "additionalProperties": {
+          "$ref": "#/components/schemas/hc_PtlHcInfo_HcInfoGeziInfo"
+        }
+      },
       "hc_PtlHcMerge_ReqHcMerge": {
         "type": "object",
         "properties": {

+ 8 - 4
s_to_proto/docs/tsapi.md

@@ -38,7 +38,7 @@
 - fight
     - [请求接口](#/fight/FightTest)
 - hc
-    - [请求接口](#/hc/HcEmit)
+    - [请求接口 点击发射器](#/hc/HcEmit)
     - [获取合成信息](#/hc/HcInfo)
     - [点击两个格子合成](#/hc/HcMerge)
 - item
@@ -811,7 +811,7 @@ interface ResFightTest {
 
 ## hc
 
-### 请求接口 <a id="/hc/HcEmit"></a>
+### 请求接口 点击发射器 <a id="/hc/HcEmit"></a>
 
 **路径**
 - POST `/hc/HcEmit`
@@ -819,14 +819,18 @@ interface ResFightTest {
 **请求**
 ```ts
 interface ReqHcEmit {
-
+    gzid: string
 }
 ```
 
 **响应**
 ```ts
 interface ResHcEmit {
-
+    [key: string]: {
+        type: 0 | 2 | 3 | 50 | 4,
+        unlock: 0 | 1,
+        correlationId: number
+    }
 }
 ```
 

+ 4 - 3
s_to_proto/shared/hc/PtlHcEmit.ts

@@ -1,17 +1,18 @@
+import { HcInfoGeziInfo } from "./PtlHcInfo";
 
 
 /**
-* 请求接口
+* 请求接口 点击发射器
 */
 export interface ReqHcEmit {
-
+    gzid:string
 }
 
 /**
 * 返回信息
 */
 export interface ResHcEmit {
-
+    [gzid: string]: HcInfoGeziInfo;
 }
 
 export const conf = {

+ 51 - 35
s_to_proto/shared/serviceProto.ts

@@ -232,7 +232,7 @@ export interface ServiceType {
 }
 
 export const serviceProto: ServiceProto<ServiceType> = {
-    "version": 56,
+    "version": 57,
     "services": [
         {
             "id": 39,
@@ -1439,49 +1439,18 @@ export const serviceProto: ServiceProto<ServiceType> = {
             ]
         },
         "hc/PtlHcEmit/ReqHcEmit": {
-            "type": "Interface"
-        },
-        "hc/PtlHcEmit/ResHcEmit": {
-            "type": "Interface"
-        },
-        "hc/PtlHcInfo/ReqHcInfo": {
-            "type": "Interface"
-        },
-        "hc/PtlHcInfo/ResHcInfo": {
             "type": "Interface",
             "properties": [
                 {
                     "id": 0,
-                    "name": "chapterId",
-                    "type": {
-                        "type": "Number"
-                    }
-                },
-                {
-                    "id": 1,
-                    "name": "tili",
-                    "type": {
-                        "type": "Number"
-                    }
-                },
-                {
-                    "id": 2,
-                    "name": "lastTime",
+                    "name": "gzid",
                     "type": {
-                        "type": "Number"
-                    }
-                },
-                {
-                    "id": 3,
-                    "name": "list",
-                    "type": {
-                        "type": "Reference",
-                        "target": "hc/PtlHcInfo/HcInfoList"
+                        "type": "String"
                     }
                 }
             ]
         },
-        "hc/PtlHcInfo/HcInfoList": {
+        "hc/PtlHcEmit/ResHcEmit": {
             "type": "Interface",
             "indexSignature": {
                 "keyType": "String",
@@ -1557,6 +1526,53 @@ export const serviceProto: ServiceProto<ServiceType> = {
                 }
             ]
         },
+        "hc/PtlHcInfo/ReqHcInfo": {
+            "type": "Interface"
+        },
+        "hc/PtlHcInfo/ResHcInfo": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "chapterId",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "tili",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "lastTime",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 3,
+                    "name": "list",
+                    "type": {
+                        "type": "Reference",
+                        "target": "hc/PtlHcInfo/HcInfoList"
+                    }
+                }
+            ]
+        },
+        "hc/PtlHcInfo/HcInfoList": {
+            "type": "Interface",
+            "indexSignature": {
+                "keyType": "String",
+                "type": {
+                    "type": "Reference",
+                    "target": "hc/PtlHcInfo/HcInfoGeziInfo"
+                }
+            }
+        },
         "hc/PtlHcMerge/ReqHcMerge": {
             "type": "Interface",
             "properties": [