xiaoyang0346 3 days ago
parent
commit
8b2aab8317

+ 4 - 0
s_to_proto/docs/openapi.json

@@ -3138,6 +3138,9 @@
           "aType": {
             "$ref": "#/components/schemas/user_PtlUserFight_ActionType"
           },
+          "seat": {
+            "type": "number"
+          },
           "atker": {
             "$ref": "#/components/schemas/user_PtlUserFight_fightLogOneData"
           },
@@ -3150,6 +3153,7 @@
         },
         "required": [
           "aType",
+          "seat",
           "atker",
           "target"
         ]

+ 1 - 0
s_to_proto/docs/tsapi.md

@@ -1197,6 +1197,7 @@ interface ResUserFight {
         [key: string]: {
             /** 战斗动作类型 */
             aType: "wu" | "0" | "1" | "2" | "3" | "999",
+            seat: number,
             /** 日志格式 */
             atker: {
                 iid: string,

+ 8 - 1
s_to_proto/shared/serviceProto.ts

@@ -227,7 +227,7 @@ export interface ServiceType {
 }
 
 export const serviceProto: ServiceProto<ServiceType> = {
-    "version": 54,
+    "version": 55,
     "services": [
         {
             "id": 39,
@@ -2075,6 +2075,13 @@ export const serviceProto: ServiceProto<ServiceType> = {
                     }
                 },
                 {
+                    "id": 3,
+                    "name": "seat",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
                     "id": 1,
                     "name": "atker",
                     "type": {

+ 1 - 0
s_to_proto/shared/user/PtlUserFight.ts

@@ -41,6 +41,7 @@ export interface FightTeam {
 //单回合内战斗日志
 export interface fightLogOne {
     aType: ActionType; //战斗动作类型
+    seat:number, //位置
     atker: fightLogOneData; //出手方
     target: fightLogOneData[]; //目标
 }