xiaoyang0346 пре 1 недеља
родитељ
комит
4d8269d5c1

+ 1 - 1
s_to_proto/shared/admin/PtlgetMail.ts

@@ -7,7 +7,7 @@ export interface ReqgetMail {
 
 // 定义返回字段
 export interface ResgetMail {
-
+    order10Back: any
 }
 
 export const conf = {

+ 77 - 2
s_to_proto/shared/serviceProto.ts

@@ -147,7 +147,7 @@ export interface ServiceType {
 }
 
 export const serviceProto: ServiceProto<ServiceType> = {
-    "version": 34,
+    "version": 35,
     "services": [
         {
             "id": 39,
@@ -628,7 +628,16 @@ export const serviceProto: ServiceProto<ServiceType> = {
             "type": "Interface"
         },
         "admin/PtlgetMail/ResgetMail": {
-            "type": "Interface"
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
         },
         "admin/PtlgetNeed/ReqgetNeed": {
             "type": "Interface",
@@ -1335,6 +1344,14 @@ export const serviceProto: ServiceProto<ServiceType> = {
             "type": "Interface",
             "properties": [
                 {
+                    "id": 2,
+                    "name": "fightStart",
+                    "type": {
+                        "type": "Reference",
+                        "target": "user/server/MsgUserFight/FightStart"
+                    }
+                },
+                {
                     "id": 0,
                     "name": "win",
                     "type": {
@@ -1360,6 +1377,64 @@ export const serviceProto: ServiceProto<ServiceType> = {
                 }
             ]
         },
+        "user/server/MsgUserFight/FightStart": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "from",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "seed",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "teams",
+                    "type": {
+                        "type": "Interface",
+                        "indexSignature": {
+                            "keyType": "String",
+                            "type": {
+                                "type": "Reference",
+                                "target": "user/server/MsgUserFight/FightTeam"
+                            }
+                        }
+                    }
+                }
+            ]
+        },
+        "user/server/MsgUserFight/FightTeam": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "fid",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "eps",
+                    "type": {
+                        "type": "Interface",
+                        "indexSignature": {
+                            "keyType": "String",
+                            "type": {
+                                "type": "Number"
+                            }
+                        }
+                    }
+                }
+            ]
+        },
         "user/server/MsgUserFight/fightLogOne": {
             "type": "Interface",
             "properties": [

+ 18 - 0
s_to_proto/shared/user/server/MsgUserFight.ts

@@ -2,6 +2,7 @@
 
 // 定义返回字段
 export interface MsgUserFight {
+    fightStart:FightStart; //战斗阵容
     win: number; //0失败 1胜利
     log: {
         //战斗日志列表
@@ -9,6 +10,23 @@ export interface MsgUserFight {
         [huihe: string]: fightLogOne[];
     };
 }
+/**
+ * 战斗初始阵容
+ */
+export interface FightStart {
+    from: string; //战斗类型
+    seed: number; //随机种子
+    teams: {
+        [iid: string]: FightTeam;
+    };
+}
+/**
+ * 单个阵容信息
+ */
+export interface FightTeam {
+    fid: string; //业务中身份
+    eps: {[id:string]:number}; //属性
+}
 
 //单回合内战斗日志
 export interface fightLogOne {