|
@@ -21,22 +21,17 @@ import { RequpdateSetting, ResupdateSetting } from './admin/PtlupdateSetting';
|
|
|
import { Reqxaizai, Resxaizai } from './admin/Ptlxaizai';
|
|
|
import { MsgItems } from './common/MsgItems';
|
|
|
import { MsgMessage } from './common/MsgMessage';
|
|
|
-import { MsgEpsInfo_c } from './eps/client/MsgEpsInfo_c';
|
|
|
+import { ReqEpsInfo, ResEpsInfo } from './eps/PtlEpsInfo';
|
|
|
import { MsgEpsChange_s } from './eps/server/MsgEpsChange_s';
|
|
|
-import { MsgEpsInfo_s } from './eps/server/MsgEpsInfo_s';
|
|
|
-import { MsgHcInfo_c } from './hc/client/MsgHcInfo_c';
|
|
|
+import { ReqHcInfo, ResHcInfo } from './hc/PtlHcInfo';
|
|
|
import { ReqHcMerge, ResHcMerge } from './hc/PtlHcMerge';
|
|
|
-import { MsgHcInfo_s } from './hc/server/MsgHcInfo_s';
|
|
|
-import { MsgItemInfo_c } from './item/client/MsgItemInfo_c';
|
|
|
+import { ReqItemInfo, ResItemInfo } from './item/PtlItemInfo';
|
|
|
import { MsgItemChange_s } from './item/server/MsgItemChange_s';
|
|
|
-import { MsgItemInfo_s } from './item/server/MsgItemInfo_s';
|
|
|
import { ReqPlatLogin, ResPlatLogin } from './plat/PtlPlatLogin';
|
|
|
import { ReqPlayerLogin, ResPlayerLogin } from './player/PtlPlayerLogin';
|
|
|
-import { MsgSetName_c } from './user/client/MsgSetName_c';
|
|
|
-import { MsgUserFight_c } from './user/client/MsgUserFight_c';
|
|
|
+import { ReqUserFight, ResUserFight } from './user/PtlUserFight';
|
|
|
import { ReqUserLogin, ResUserLogin } from './user/PtlUserLogin';
|
|
|
-import { MsgSetName_s } from './user/server/MsgSetName_s';
|
|
|
-import { MsgUserFight_s } from './user/server/MsgUserFight_s';
|
|
|
+import { ReqUserSetName, ResUserSetName } from './user/PtlUserSetName';
|
|
|
|
|
|
export interface ServiceType {
|
|
|
api: {
|
|
@@ -120,10 +115,22 @@ export interface ServiceType {
|
|
|
req: Reqxaizai,
|
|
|
res: Resxaizai
|
|
|
},
|
|
|
+ "eps/EpsInfo": {
|
|
|
+ req: ReqEpsInfo,
|
|
|
+ res: ResEpsInfo
|
|
|
+ },
|
|
|
+ "hc/HcInfo": {
|
|
|
+ req: ReqHcInfo,
|
|
|
+ res: ResHcInfo
|
|
|
+ },
|
|
|
"hc/HcMerge": {
|
|
|
req: ReqHcMerge,
|
|
|
res: ResHcMerge
|
|
|
},
|
|
|
+ "item/ItemInfo": {
|
|
|
+ req: ReqItemInfo,
|
|
|
+ res: ResItemInfo
|
|
|
+ },
|
|
|
"plat/PlatLogin": {
|
|
|
req: ReqPlatLogin,
|
|
|
res: ResPlatLogin
|
|
@@ -132,31 +139,29 @@ export interface ServiceType {
|
|
|
req: ReqPlayerLogin,
|
|
|
res: ResPlayerLogin
|
|
|
},
|
|
|
+ "user/UserFight": {
|
|
|
+ req: ReqUserFight,
|
|
|
+ res: ResUserFight
|
|
|
+ },
|
|
|
"user/UserLogin": {
|
|
|
req: ReqUserLogin,
|
|
|
res: ResUserLogin
|
|
|
+ },
|
|
|
+ "user/UserSetName": {
|
|
|
+ req: ReqUserSetName,
|
|
|
+ res: ResUserSetName
|
|
|
}
|
|
|
},
|
|
|
msg: {
|
|
|
"common/Items": MsgItems,
|
|
|
"common/Message": MsgMessage,
|
|
|
- "eps/client/EpsInfo_c": MsgEpsInfo_c,
|
|
|
"eps/server/EpsChange_s": MsgEpsChange_s,
|
|
|
- "eps/server/EpsInfo_s": MsgEpsInfo_s,
|
|
|
- "hc/client/HcInfo_c": MsgHcInfo_c,
|
|
|
- "hc/server/HcInfo_s": MsgHcInfo_s,
|
|
|
- "item/client/ItemInfo_c": MsgItemInfo_c,
|
|
|
- "item/server/ItemChange_s": MsgItemChange_s,
|
|
|
- "item/server/ItemInfo_s": MsgItemInfo_s,
|
|
|
- "user/client/SetName_c": MsgSetName_c,
|
|
|
- "user/client/UserFight_c": MsgUserFight_c,
|
|
|
- "user/server/SetName_s": MsgSetName_s,
|
|
|
- "user/server/UserFight_s": MsgUserFight_s
|
|
|
+ "item/server/ItemChange_s": MsgItemChange_s
|
|
|
}
|
|
|
}
|
|
|
|
|
|
export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
- "version": 39,
|
|
|
+ "version": 41,
|
|
|
"services": [
|
|
|
{
|
|
|
"id": 39,
|
|
@@ -329,9 +334,12 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"type": "msg"
|
|
|
},
|
|
|
{
|
|
|
- "id": 49,
|
|
|
- "name": "eps/client/EpsInfo_c",
|
|
|
- "type": "msg"
|
|
|
+ "id": 65,
|
|
|
+ "name": "eps/EpsInfo",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
"id": 50,
|
|
@@ -339,14 +347,12 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"type": "msg"
|
|
|
},
|
|
|
{
|
|
|
- "id": 51,
|
|
|
- "name": "eps/server/EpsInfo_s",
|
|
|
- "type": "msg"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 52,
|
|
|
- "name": "hc/client/HcInfo_c",
|
|
|
- "type": "msg"
|
|
|
+ "id": 66,
|
|
|
+ "name": "hc/HcInfo",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
"id": 64,
|
|
@@ -357,14 +363,12 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- "id": 53,
|
|
|
- "name": "hc/server/HcInfo_s",
|
|
|
- "type": "msg"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 54,
|
|
|
- "name": "item/client/ItemInfo_c",
|
|
|
- "type": "msg"
|
|
|
+ "id": 67,
|
|
|
+ "name": "item/ItemInfo",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
"id": 55,
|
|
@@ -372,11 +376,6 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"type": "msg"
|
|
|
},
|
|
|
{
|
|
|
- "id": 56,
|
|
|
- "name": "item/server/ItemInfo_s",
|
|
|
- "type": "msg"
|
|
|
- },
|
|
|
- {
|
|
|
"id": 57,
|
|
|
"name": "plat/PlatLogin",
|
|
|
"type": "api",
|
|
@@ -393,14 +392,12 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- "id": 59,
|
|
|
- "name": "user/client/SetName_c",
|
|
|
- "type": "msg"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 60,
|
|
|
- "name": "user/client/UserFight_c",
|
|
|
- "type": "msg"
|
|
|
+ "id": 68,
|
|
|
+ "name": "user/UserFight",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
"id": 61,
|
|
@@ -411,14 +408,12 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- "id": 62,
|
|
|
- "name": "user/server/SetName_s",
|
|
|
- "type": "msg"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 63,
|
|
|
- "name": "user/server/UserFight_s",
|
|
|
- "type": "msg"
|
|
|
+ "id": 69,
|
|
|
+ "name": "user/UserSetName",
|
|
|
+ "type": "api",
|
|
|
+ "conf": {
|
|
|
+ "connet": "ws"
|
|
|
+ }
|
|
|
}
|
|
|
],
|
|
|
"types": {
|
|
@@ -923,10 +918,10 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "eps/client/MsgEpsInfo_c/MsgEpsInfo_c": {
|
|
|
+ "eps/PtlEpsInfo/ReqEpsInfo": {
|
|
|
"type": "Interface"
|
|
|
},
|
|
|
- "eps/server/MsgEpsChange_s/MsgEpsChange_s": {
|
|
|
+ "eps/PtlEpsInfo/ResEpsInfo": {
|
|
|
"type": "Interface",
|
|
|
"indexSignature": {
|
|
|
"keyType": "String",
|
|
@@ -935,7 +930,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "eps/server/MsgEpsInfo_s/MsgEpsInfo_s": {
|
|
|
+ "eps/server/MsgEpsChange_s/MsgEpsChange_s": {
|
|
|
"type": "Interface",
|
|
|
"indexSignature": {
|
|
|
"keyType": "String",
|
|
@@ -944,39 +939,54 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "hc/client/MsgHcInfo_c/MsgHcInfo_c": {
|
|
|
+ "hc/PtlHcInfo/ReqHcInfo": {
|
|
|
"type": "Interface"
|
|
|
},
|
|
|
- "hc/PtlHcMerge/ReqHcMerge": {
|
|
|
+ "hc/PtlHcInfo/ResHcInfo": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
|
{
|
|
|
"id": 0,
|
|
|
- "name": "gzid1",
|
|
|
+ "name": "chapterId",
|
|
|
"type": {
|
|
|
- "type": "String"
|
|
|
+ "type": "Number"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
"id": 1,
|
|
|
- "name": "gzid2",
|
|
|
+ "name": "tili",
|
|
|
"type": {
|
|
|
- "type": "String"
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 2,
|
|
|
+ "name": "lastTime",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 3,
|
|
|
+ "name": "list",
|
|
|
+ "type": {
|
|
|
+ "type": "Reference",
|
|
|
+ "target": "hc/PtlHcInfo/HcInfoList"
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "hc/PtlHcMerge/ResHcMerge": {
|
|
|
+ "hc/PtlHcInfo/HcInfoList": {
|
|
|
"type": "Interface",
|
|
|
"indexSignature": {
|
|
|
"keyType": "String",
|
|
|
"type": {
|
|
|
"type": "Reference",
|
|
|
- "target": "hc/server/MsgHcInfo_s/HcInfoGeziInfo"
|
|
|
+ "target": "hc/PtlHcInfo/HcInfoGeziInfo"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "hc/server/MsgHcInfo_s/HcInfoGeziInfo": {
|
|
|
+ "hc/PtlHcInfo/HcInfoGeziInfo": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
|
{
|
|
@@ -984,7 +994,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"name": "type",
|
|
|
"type": {
|
|
|
"type": "Reference",
|
|
|
- "target": "hc/server/MsgHcInfo_s/HcType"
|
|
|
+ "target": "hc/PtlHcInfo/HcType"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -992,7 +1002,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"name": "unlock",
|
|
|
"type": {
|
|
|
"type": "Reference",
|
|
|
- "target": "hc/server/MsgHcInfo_s/HcUnlock"
|
|
|
+ "target": "hc/PtlHcInfo/HcUnlock"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -1004,7 +1014,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "hc/server/MsgHcInfo_s/HcType": {
|
|
|
+ "hc/PtlHcInfo/HcType": {
|
|
|
"type": "Enum",
|
|
|
"members": [
|
|
|
{
|
|
@@ -1025,67 +1035,52 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "hc/server/MsgHcInfo_s/HcUnlock": {
|
|
|
+ "hc/PtlHcInfo/HcUnlock": {
|
|
|
"type": "Enum",
|
|
|
"members": [
|
|
|
{
|
|
|
- "id": 2,
|
|
|
+ "id": 0,
|
|
|
"value": 0
|
|
|
},
|
|
|
{
|
|
|
- "id": 3,
|
|
|
+ "id": 1,
|
|
|
"value": 1
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "hc/server/MsgHcInfo_s/MsgHcInfo_s": {
|
|
|
+ "hc/PtlHcMerge/ReqHcMerge": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
|
{
|
|
|
"id": 0,
|
|
|
- "name": "chapterId",
|
|
|
+ "name": "gzid1",
|
|
|
"type": {
|
|
|
- "type": "Number"
|
|
|
+ "type": "String"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
"id": 1,
|
|
|
- "name": "tili",
|
|
|
- "type": {
|
|
|
- "type": "Number"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 2,
|
|
|
- "name": "lastTime",
|
|
|
- "type": {
|
|
|
- "type": "Number"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 3,
|
|
|
- "name": "list",
|
|
|
+ "name": "gzid2",
|
|
|
"type": {
|
|
|
- "type": "Reference",
|
|
|
- "target": "hc/server/MsgHcInfo_s/HcInfoList"
|
|
|
+ "type": "String"
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "hc/server/MsgHcInfo_s/HcInfoList": {
|
|
|
+ "hc/PtlHcMerge/ResHcMerge": {
|
|
|
"type": "Interface",
|
|
|
"indexSignature": {
|
|
|
"keyType": "String",
|
|
|
"type": {
|
|
|
"type": "Reference",
|
|
|
- "target": "hc/server/MsgHcInfo_s/HcInfoGeziInfo"
|
|
|
+ "target": "hc/PtlHcInfo/HcInfoGeziInfo"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "item/client/MsgItemInfo_c/MsgItemInfo_c": {
|
|
|
+ "item/PtlItemInfo/ReqItemInfo": {
|
|
|
"type": "Interface"
|
|
|
},
|
|
|
- "item/server/MsgItemChange_s/MsgItemChange_s": {
|
|
|
+ "item/PtlItemInfo/ResItemInfo": {
|
|
|
"type": "Interface",
|
|
|
"indexSignature": {
|
|
|
"keyType": "String",
|
|
@@ -1094,7 +1089,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "item/server/MsgItemInfo_s/MsgItemInfo_s": {
|
|
|
+ "item/server/MsgItemChange_s/MsgItemChange_s": {
|
|
|
"type": "Interface",
|
|
|
"indexSignature": {
|
|
|
"keyType": "String",
|
|
@@ -1349,163 +1344,10 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "user/client/MsgSetName_c/MsgSetName_c": {
|
|
|
- "type": "Interface",
|
|
|
- "properties": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "name": "name",
|
|
|
- "type": {
|
|
|
- "type": "String"
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "user/client/MsgUserFight_c/MsgUserFight_c": {
|
|
|
+ "user/PtlUserFight/ReqUserFight": {
|
|
|
"type": "Interface"
|
|
|
},
|
|
|
- "user/PtlUserLogin/ReqUserLogin": {
|
|
|
- "type": "Interface",
|
|
|
- "properties": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "name": "sid",
|
|
|
- "type": {
|
|
|
- "type": "String"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 1,
|
|
|
- "name": "uid",
|
|
|
- "type": {
|
|
|
- "type": "String"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 2,
|
|
|
- "name": "token",
|
|
|
- "type": {
|
|
|
- "type": "String"
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "user/PtlUserLogin/ResUserLogin": {
|
|
|
- "type": "Interface",
|
|
|
- "properties": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "name": "uuid",
|
|
|
- "type": {
|
|
|
- "type": "String"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 1,
|
|
|
- "name": "sid",
|
|
|
- "type": {
|
|
|
- "type": "String"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 2,
|
|
|
- "name": "name",
|
|
|
- "type": {
|
|
|
- "type": "String"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 3,
|
|
|
- "name": "head",
|
|
|
- "type": {
|
|
|
- "type": "String"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 4,
|
|
|
- "name": "wxhead",
|
|
|
- "type": {
|
|
|
- "type": "String"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 5,
|
|
|
- "name": "sex",
|
|
|
- "type": {
|
|
|
- "type": "Number"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 6,
|
|
|
- "name": "level",
|
|
|
- "type": {
|
|
|
- "type": "Number"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 7,
|
|
|
- "name": "regtime",
|
|
|
- "type": {
|
|
|
- "type": "Number"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 8,
|
|
|
- "name": "loginTime",
|
|
|
- "type": {
|
|
|
- "type": "Number"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 9,
|
|
|
- "name": "lastlogin",
|
|
|
- "type": {
|
|
|
- "type": "Number"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 10,
|
|
|
- "name": "lang",
|
|
|
- "type": {
|
|
|
- "type": "String"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 11,
|
|
|
- "name": "iscz",
|
|
|
- "type": {
|
|
|
- "type": "Number"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 12,
|
|
|
- "name": "rmbcz",
|
|
|
- "type": {
|
|
|
- "type": "Number"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 13,
|
|
|
- "name": "power",
|
|
|
- "type": {
|
|
|
- "type": "Number"
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "user/server/MsgSetName_s/MsgSetName_s": {
|
|
|
- "type": "Interface",
|
|
|
- "properties": [
|
|
|
- {
|
|
|
- "id": 0,
|
|
|
- "name": "name",
|
|
|
- "type": {
|
|
|
- "type": "String"
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "user/server/MsgUserFight_s/MsgUserFight_s": {
|
|
|
+ "user/PtlUserFight/ResUserFight": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
|
{
|
|
@@ -1513,7 +1355,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"name": "fightStart",
|
|
|
"type": {
|
|
|
"type": "Reference",
|
|
|
- "target": "user/server/MsgUserFight_s/FightStart"
|
|
|
+ "target": "user/PtlUserFight/FightStart"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -1534,7 +1376,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"type": "Array",
|
|
|
"elementType": {
|
|
|
"type": "Reference",
|
|
|
- "target": "user/server/MsgUserFight_s/fightLogOne"
|
|
|
+ "target": "user/PtlUserFight/fightLogOne"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1542,7 +1384,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "user/server/MsgUserFight_s/FightStart": {
|
|
|
+ "user/PtlUserFight/FightStart": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
|
{
|
|
@@ -1568,14 +1410,14 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"keyType": "String",
|
|
|
"type": {
|
|
|
"type": "Reference",
|
|
|
- "target": "user/server/MsgUserFight_s/FightTeam"
|
|
|
+ "target": "user/PtlUserFight/FightTeam"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "user/server/MsgUserFight_s/FightTeam": {
|
|
|
+ "user/PtlUserFight/FightTeam": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
|
{
|
|
@@ -1600,7 +1442,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "user/server/MsgUserFight_s/fightLogOne": {
|
|
|
+ "user/PtlUserFight/fightLogOne": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
|
{
|
|
@@ -1608,7 +1450,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"name": "aType",
|
|
|
"type": {
|
|
|
"type": "Reference",
|
|
|
- "target": "user/server/MsgUserFight_s/ActionType"
|
|
|
+ "target": "user/PtlUserFight/ActionType"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -1616,7 +1458,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"name": "atker",
|
|
|
"type": {
|
|
|
"type": "Reference",
|
|
|
- "target": "user/server/MsgUserFight_s/fightLogOneData"
|
|
|
+ "target": "user/PtlUserFight/fightLogOneData"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -1626,13 +1468,13 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
"type": "Array",
|
|
|
"elementType": {
|
|
|
"type": "Reference",
|
|
|
- "target": "user/server/MsgUserFight_s/fightLogOneData"
|
|
|
+ "target": "user/PtlUserFight/fightLogOneData"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "user/server/MsgUserFight_s/ActionType": {
|
|
|
+ "user/PtlUserFight/ActionType": {
|
|
|
"type": "Enum",
|
|
|
"members": [
|
|
|
{
|
|
@@ -1661,7 +1503,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "user/server/MsgUserFight_s/fightLogOneData": {
|
|
|
+ "user/PtlUserFight/fightLogOneData": {
|
|
|
"type": "Interface",
|
|
|
"properties": [
|
|
|
{
|
|
@@ -1715,6 +1557,159 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
+ },
|
|
|
+ "user/PtlUserLogin/ReqUserLogin": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "sid",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 1,
|
|
|
+ "name": "uid",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 2,
|
|
|
+ "name": "token",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "user/PtlUserLogin/ResUserLogin": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "uuid",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 1,
|
|
|
+ "name": "sid",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 2,
|
|
|
+ "name": "name",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 3,
|
|
|
+ "name": "head",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 4,
|
|
|
+ "name": "wxhead",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 5,
|
|
|
+ "name": "sex",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 6,
|
|
|
+ "name": "level",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 7,
|
|
|
+ "name": "regtime",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 8,
|
|
|
+ "name": "loginTime",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 9,
|
|
|
+ "name": "lastlogin",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 10,
|
|
|
+ "name": "lang",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 11,
|
|
|
+ "name": "iscz",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 12,
|
|
|
+ "name": "rmbcz",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 13,
|
|
|
+ "name": "power",
|
|
|
+ "type": {
|
|
|
+ "type": "Number"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "user/PtlUserSetName/ReqUserSetName": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "name",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "user/PtlUserSetName/ResUserSetName": {
|
|
|
+ "type": "Interface",
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": 0,
|
|
|
+ "name": "name",
|
|
|
+ "type": {
|
|
|
+ "type": "String"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
}
|
|
|
};
|