|
@@ -28,6 +28,7 @@ import { MsgItems } from './common/MsgItems';
|
|
|
import { MsgMessage } from './common/MsgMessage';
|
|
|
import { ReqEpsInfo, ResEpsInfo } from './eps/PtlEpsInfo';
|
|
|
import { MsgEpsChange_s } from './eps/server/MsgEpsChange_s';
|
|
|
+import { ReqFightHc, ResFightHc } from './fight/PtlFightHc';
|
|
|
import { ReqFightTest, ResFightTest } from './fight/PtlFightTest';
|
|
|
import { ReqHcEmit, ResHcEmit } from './hc/PtlHcEmit';
|
|
|
import { ReqHcInfo, ResHcInfo } from './hc/PtlHcInfo';
|
|
@@ -153,6 +154,10 @@ export interface ServiceType {
|
|
|
req: ReqEpsInfo,
|
|
|
res: ResEpsInfo
|
|
|
},
|
|
|
+ "fight/FightHc": {
|
|
|
+ req: ReqFightHc,
|
|
|
+ res: ResFightHc
|
|
|
+ },
|
|
|
"fight/FightTest": {
|
|
|
req: ReqFightTest,
|
|
|
res: ResFightTest
|
|
@@ -239,7 +244,7 @@ export interface ServiceType {
|
|
|
}
|
|
|
|
|
|
export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
- "version": 61,
|
|
|
+ "version": 62,
|
|
|
"services": [
|
|
|
{
|
|
|
"id": 39,
|
|
@@ -462,6 +467,14 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"type": "msg"
|
|
|
},
|
|
|
{
|
|
|
+ "id": 90,
|
|
|
+ "name": "fight/FightHc",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
"id": 86,
|
|
|
"name": "fight/FightTest",
|
|
|
"type": "api",
|
|
@@ -1357,7 +1370,10 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"type": {
|
|
|
"type": "Array",
|
|
|
"elementType": {
|
|
|
- "type": "Number"
|
|
|
+ "type": "Array",
|
|
|
+ "elementType": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1396,10 +1412,47 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "fight/PtlFightTest/ReqFightTest": {
|
|
|
- "type": "Interface"
|
|
|
+ "fight/PtlFightHc/ReqFightHc": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "gzid",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
- "fight/PtlFightTest/ResFightTest": {
|
|
|
+ "fight/PtlFightHc/ResFightHc": {
|
|
|
+ "type": "Interface",
|
|
|
+ "extends": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "type": {
|
|
|
+ "type": "Reference",
|
|
|
+ "target": "base/FightBase"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "list",
|
|
|
+ "type": {
|
|
|
+ "type": "Interface",
|
|
|
+ "indexSignature": {
|
|
|
+ "keyType": "String",
|
|
|
+ "type": {
|
|
|
+ "type": "Reference",
|
|
|
+ "target": "hc/PtlHcInfo/HcInfoGeziInfo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "base/FightBase": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
|
{
|
|
@@ -1407,7 +1460,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"name": "fightStart",
|
|
|
"type": {
|
|
|
"type": "Reference",
|
|
|
- "target": "fight/PtlFightTest/FightStart"
|
|
|
+ "target": "base/FightStart"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -1428,7 +1481,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"type": "Array",
|
|
|
"elementType": {
|
|
|
"type": "Reference",
|
|
|
- "target": "fight/PtlFightTest/fightLogOne"
|
|
|
+ "target": "base/fightLogOne"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1436,7 +1489,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "fight/PtlFightTest/FightStart": {
|
|
|
+ "base/FightStart": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
|
{
|
|
@@ -1462,14 +1515,14 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"keyType": "String",
|
|
|
"type": {
|
|
|
"type": "Reference",
|
|
|
- "target": "fight/PtlFightTest/FightTeam"
|
|
|
+ "target": "base/FightTeam"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "fight/PtlFightTest/FightTeam": {
|
|
|
+ "base/FightTeam": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
|
{
|
|
@@ -1501,7 +1554,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "fight/PtlFightTest/fightLogOne": {
|
|
|
+ "base/fightLogOne": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
|
{
|
|
@@ -1509,7 +1562,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"name": "aType",
|
|
|
"type": {
|
|
|
"type": "Reference",
|
|
|
- "target": "fight/PtlFightTest/ActionType"
|
|
|
+ "target": "base/ActionType"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -1524,7 +1577,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"name": "atker",
|
|
|
"type": {
|
|
|
"type": "Reference",
|
|
|
- "target": "fight/PtlFightTest/fightLogOneData"
|
|
|
+ "target": "base/fightLogOneData"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -1534,13 +1587,13 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"type": "Array",
|
|
|
"elementType": {
|
|
|
"type": "Reference",
|
|
|
- "target": "fight/PtlFightTest/fightLogOneData"
|
|
|
+ "target": "base/fightLogOneData"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "fight/PtlFightTest/ActionType": {
|
|
|
+ "base/ActionType": {
|
|
|
"type": "Enum",
|
|
|
"members": [
|
|
|
{
|
|
@@ -1569,7 +1622,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "fight/PtlFightTest/fightLogOneData": {
|
|
|
+ "base/fightLogOneData": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
|
{
|
|
@@ -1624,28 +1677,6 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "hc/PtlHcEmit/ReqHcEmit": {
|
|
|
- "type": "Interface",
|
|
|
- "properties": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "name": "gzid",
|
|
|
- "type": {
|
|
|
- "type": "String"
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "hc/PtlHcEmit/ResHcEmit": {
|
|
|
- "type": "Interface",
|
|
|
- "indexSignature": {
|
|
|
- "keyType": "String",
|
|
|
- "type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "hc/PtlHcInfo/HcInfoGeziInfo"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
"hc/PtlHcInfo/HcInfoGeziInfo": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
@@ -1707,15 +1738,52 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"type": "Enum",
|
|
|
"members": [
|
|
|
{
|
|
|
+ "id": 1,
|
|
|
+ "value": 1
|
|
|
+ },
|
|
|
+ {
|
|
|
"id": 0,
|
|
|
"value": 0
|
|
|
- },
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "fight/PtlFightTest/ReqFightTest": {
|
|
|
+ "type": "Interface"
|
|
|
+ },
|
|
|
+ "fight/PtlFightTest/ResFightTest": {
|
|
|
+ "type": "Interface",
|
|
|
+ "extends": [
|
|
|
{
|
|
|
- "id": 1,
|
|
|
- "value": 1
|
|
|
+ "id": 0,
|
|
|
+ "type": {
|
|
|
+ "type": "Reference",
|
|
|
+ "target": "base/FightBase"
|
|
|
+ }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ "hc/PtlHcEmit/ReqHcEmit": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "gzid",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "hc/PtlHcEmit/ResHcEmit": {
|
|
|
+ "type": "Interface",
|
|
|
+ "indexSignature": {
|
|
|
+ "keyType": "String",
|
|
|
+ "type": {
|
|
|
+ "type": "Reference",
|
|
|
+ "target": "hc/PtlHcInfo/HcInfoGeziInfo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"hc/PtlHcInfo/ReqHcInfo": {
|
|
|
"type": "Interface"
|
|
|
},
|