xiaoyang0346 1 week ago
parent
commit
2713575d74
40 changed files with 2379 additions and 0 deletions
  1. 20 0
      s_to_proto/shared/admin/PtladdBuMa.ts
  2. 20 0
      s_to_proto/shared/admin/PtladdCode.ts
  3. 19 0
      s_to_proto/shared/admin/PtladdMail.ts
  4. 18 0
      s_to_proto/shared/admin/PtlcacheVer.ts
  5. 19 0
      s_to_proto/shared/admin/PtldeleteCode.ts
  6. 18 0
      s_to_proto/shared/admin/PtldeleteMail.ts
  7. 16 0
      s_to_proto/shared/admin/PtldeleteQuFu.ts
  8. 18 0
      s_to_proto/shared/admin/PtldeleteSetting.ts
  9. 18 0
      s_to_proto/shared/admin/PtlgetCode.ts
  10. 18 0
      s_to_proto/shared/admin/PtlgetCodeMa.ts
  11. 18 0
      s_to_proto/shared/admin/PtlgetMail.ts
  12. 17 0
      s_to_proto/shared/admin/PtlgetNeed.ts
  13. 18 0
      s_to_proto/shared/admin/PtlgetQuFu.ts
  14. 16 0
      s_to_proto/shared/admin/PtlgetSetting.ts
  15. 18 0
      s_to_proto/shared/admin/PtlgetVer.ts
  16. 19 0
      s_to_proto/shared/admin/PtlhuodongFind.ts
  17. 20 0
      s_to_proto/shared/admin/PtlupdateMail.ts
  18. 17 0
      s_to_proto/shared/admin/PtlupdateQuFu.ts
  19. 19 0
      s_to_proto/shared/admin/PtlupdateSetting.ts
  20. 19 0
      s_to_proto/shared/admin/Ptlxaizai.ts
  21. 11 0
      s_to_proto/shared/base.ts
  22. 7 0
      s_to_proto/shared/common/MsgItems.ts
  23. 7 0
      s_to_proto/shared/common/MsgMessage.ts
  24. 6 0
      s_to_proto/shared/eps/client/MsgEpsInfo_c.ts
  25. 7 0
      s_to_proto/shared/eps/server/MsgEpsChange_s.ts
  26. 7 0
      s_to_proto/shared/eps/server/MsgEpsInfo_s.ts
  27. 20 0
      s_to_proto/shared/hc/PtlHcMerge.ts
  28. 6 0
      s_to_proto/shared/hc/client/MsgHcInfo_c.ts
  29. 32 0
      s_to_proto/shared/hc/server/MsgHcInfo_s.ts
  30. 8 0
      s_to_proto/shared/item/client/MsgItemInfo_c.ts
  31. 7 0
      s_to_proto/shared/item/server/MsgItemChange_s.ts
  32. 7 0
      s_to_proto/shared/item/server/MsgItemInfo_s.ts
  33. 20 0
      s_to_proto/shared/plat/PtlPlatLogin.ts
  34. 49 0
      s_to_proto/shared/player/PtlPlayerLogin.ts
  35. 1720 0
      s_to_proto/shared/serviceProto.ts
  36. 30 0
      s_to_proto/shared/user/PtlUserLogin.ts
  37. 4 0
      s_to_proto/shared/user/client/MsgSetName_c.ts
  38. 6 0
      s_to_proto/shared/user/client/MsgUserFight_c.ts
  39. 7 0
      s_to_proto/shared/user/server/MsgSetName_s.ts
  40. 53 0
      s_to_proto/shared/user/server/MsgUserFight_s.ts

+ 20 - 0
s_to_proto/shared/admin/PtladdBuMa.ts

@@ -0,0 +1,20 @@
+
+
+// 定义请求参数
+export interface ReqaddBuMa {
+    id: string,
+    addCount: number,
+
+}
+
+// 定义返回字段
+export interface ResaddBuMa {
+    order10Back:any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 20 - 0
s_to_proto/shared/admin/PtladdCode.ts

@@ -0,0 +1,20 @@
+
+
+// 定义请求参数
+export interface ReqaddCode {
+    param: any
+
+}
+
+// 定义返回字段
+export interface ResaddCode {
+    order10Back: any
+
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 19 - 0
s_to_proto/shared/admin/PtladdMail.ts

@@ -0,0 +1,19 @@
+
+
+// 定义请求参数
+export interface ReqaddMail {
+    params: any
+
+}
+
+// 定义返回字段
+export interface ResaddMail {
+    order10Back: any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 18 - 0
s_to_proto/shared/admin/PtlcacheVer.ts

@@ -0,0 +1,18 @@
+
+
+// 定义请求参数
+export interface ReqcacheVer {
+
+}
+
+// 定义返回字段
+export interface RescacheVer {
+    order10Back:any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 19 - 0
s_to_proto/shared/admin/PtldeleteCode.ts

@@ -0,0 +1,19 @@
+
+
+// 定义请求参数
+export interface ReqdeleteCode {
+    id : string
+
+}
+
+// 定义返回字段
+export interface ResdeleteCode {
+    order10Back:any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 18 - 0
s_to_proto/shared/admin/PtldeleteMail.ts

@@ -0,0 +1,18 @@
+
+
+// 定义请求参数
+export interface ReqdeleteMail {
+    id: string
+}
+
+// 定义返回字段
+export interface ResdeleteMail {
+    order10Back: any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 16 - 0
s_to_proto/shared/admin/PtldeleteQuFu.ts

@@ -0,0 +1,16 @@
+// 定义请求参数
+export interface ReqdeleteQuFu {
+    sid: string;
+}
+
+// 定义返回字段
+export interface ResdeleteQuFu {
+    order10Back:any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 18 - 0
s_to_proto/shared/admin/PtldeleteSetting.ts

@@ -0,0 +1,18 @@
+
+
+// 定义请求参数
+export interface ReqdeleteSetting {
+    key: string
+}
+
+// 定义返回字段
+export interface ResdeleteSetting {
+    order10Back: any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 18 - 0
s_to_proto/shared/admin/PtlgetCode.ts

@@ -0,0 +1,18 @@
+
+
+// 定义请求参数
+export interface ReqgetCode {
+
+}
+
+// 定义返回字段
+export interface ResgetCode {
+    order10Back:any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 18 - 0
s_to_proto/shared/admin/PtlgetCodeMa.ts

@@ -0,0 +1,18 @@
+
+
+// 定义请求参数
+export interface ReqgetCodeMa {
+    id: string
+}
+
+// 定义返回字段
+export interface ResgetCodeMa {
+    order10Back:any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 18 - 0
s_to_proto/shared/admin/PtlgetMail.ts

@@ -0,0 +1,18 @@
+
+
+// 定义请求参数
+export interface ReqgetMail {
+
+}
+
+// 定义返回字段
+export interface ResgetMail {
+    order10Back: any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 17 - 0
s_to_proto/shared/admin/PtlgetNeed.ts

@@ -0,0 +1,17 @@
+// 定义请求参数
+export interface ReqgetNeed {
+    stime:number
+    timeInterval:number
+}
+
+// 定义返回字段
+export interface ResgetNeed {
+    order10Back:any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 18 - 0
s_to_proto/shared/admin/PtlgetQuFu.ts

@@ -0,0 +1,18 @@
+
+
+// 定义请求参数
+export interface ReqgetQuFu {
+    // 例如: name: string;
+}
+
+// 定义返回字段
+export interface ResgetQuFu {
+    order10Back:any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 16 - 0
s_to_proto/shared/admin/PtlgetSetting.ts

@@ -0,0 +1,16 @@
+// 定义请求参数
+export interface ReqgetSetting {
+
+}
+
+// 定义返回字段
+export interface ResgetSetting {
+    order10Back:any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 18 - 0
s_to_proto/shared/admin/PtlgetVer.ts

@@ -0,0 +1,18 @@
+
+
+// 定义请求参数
+export interface ReqgetVer {
+
+}
+
+// 定义返回字段
+export interface ResgetVer {
+    order10Back:any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 19 - 0
s_to_proto/shared/admin/PtlhuodongFind.ts

@@ -0,0 +1,19 @@
+
+
+// 定义请求参数
+export interface ReqhuodongFind {
+    key: string
+    hdcid: string
+}
+
+// 定义返回字段
+export interface ReshuodongFind {
+    order10Back: any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 20 - 0
s_to_proto/shared/admin/PtlupdateMail.ts

@@ -0,0 +1,20 @@
+
+
+// 定义请求参数
+export interface RequpdateMail {
+    id: string,
+    params: any
+
+}
+
+// 定义返回字段
+export interface ResupdateMail {
+    order10Back: any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 17 - 0
s_to_proto/shared/admin/PtlupdateQuFu.ts

@@ -0,0 +1,17 @@
+// 定义请求参数
+export interface RequpdateQuFu {
+    sid: string;
+    param: { [key: string]: any };
+}
+
+// 定义返回字段
+export interface ResupdateQuFu {
+    order10Back:any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 19 - 0
s_to_proto/shared/admin/PtlupdateSetting.ts

@@ -0,0 +1,19 @@
+
+
+// 定义请求参数
+export interface RequpdateSetting {
+    key:string
+    param:any
+}
+
+// 定义返回字段
+export interface ResupdateSetting {
+    order10Back:any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 19 - 0
s_to_proto/shared/admin/Ptlxaizai.ts

@@ -0,0 +1,19 @@
+
+
+// 定义请求参数
+export interface Reqxaizai {
+    id: string
+
+}
+
+// 定义返回字段
+export interface Resxaizai {
+    order10Back: any
+}
+
+export const conf = {
+    connet: "admin"
+}
+
+
+

+ 11 - 0
s_to_proto/shared/base.ts

@@ -0,0 +1,11 @@
+export interface BaseRequest {
+    
+}
+
+export interface BaseResponse {
+
+}
+
+export interface BaseMessage {
+
+}

+ 7 - 0
s_to_proto/shared/common/MsgItems.ts

@@ -0,0 +1,7 @@
+
+
+//通用道具弹窗提示
+export interface MsgItems {
+    items:number[]
+}
+

+ 7 - 0
s_to_proto/shared/common/MsgMessage.ts

@@ -0,0 +1,7 @@
+
+
+//通用飘文字提示
+export interface MsgMessage {
+    message:string
+}
+

+ 6 - 0
s_to_proto/shared/eps/client/MsgEpsInfo_c.ts

@@ -0,0 +1,6 @@
+
+
+// 定义返回字段
+export interface MsgEpsInfo_c {
+
+}

+ 7 - 0
s_to_proto/shared/eps/server/MsgEpsChange_s.ts

@@ -0,0 +1,7 @@
+
+
+// 定义返回字段
+export interface MsgEpsChange_s {
+    [id: string]: number; //属性信息
+}
+

+ 7 - 0
s_to_proto/shared/eps/server/MsgEpsInfo_s.ts

@@ -0,0 +1,7 @@
+
+
+// 定义返回字段
+export interface MsgEpsInfo_s {
+    [id: string]: number; //属性信息
+}
+

+ 20 - 0
s_to_proto/shared/hc/PtlHcMerge.ts

@@ -0,0 +1,20 @@
+import { HcInfoGeziInfo } from "./server/MsgHcInfo_s";
+
+
+// 定义请求参数
+export interface ReqHcMerge {
+    gzid1:string;
+    gzid2:string;
+}
+
+// 定义返回字段
+export interface ResHcMerge {
+    [gzid: string]: HcInfoGeziInfo;
+}
+
+export const conf = {
+    connet: "ws"
+}
+
+
+

+ 6 - 0
s_to_proto/shared/hc/client/MsgHcInfo_c.ts

@@ -0,0 +1,6 @@
+
+
+// 定义返回字段
+export interface MsgHcInfo_c {
+
+}

+ 32 - 0
s_to_proto/shared/hc/server/MsgHcInfo_s.ts

@@ -0,0 +1,32 @@
+
+
+// 定义返回字段
+export interface MsgHcInfo_s {
+    chapterId:number  //章节ID
+    tili:number  //体力
+    lastTime:number //最后一次结算体力时间
+    list:HcInfoList //格子列表
+}
+
+
+export interface HcInfoList {
+    [gzid: string]: HcInfoGeziInfo;
+}
+
+export interface HcInfoGeziInfo {
+    type:HcType   //具体物品类型
+    unlock:HcUnlock  //解锁状态
+    correlationId:number  //物品ID
+}
+//具体物品类型
+export enum HcType {
+    wu = "0", //无物品
+    emitter = "1", //发射器
+    monster = "2", //怪物
+    equip = "3", //装备
+}
+//解锁状态
+export enum HcUnlock {
+    on = "on", //开
+    off = "off", //关
+}

+ 8 - 0
s_to_proto/shared/item/client/MsgItemInfo_c.ts

@@ -0,0 +1,8 @@
+
+
+// 请求道具列表
+export interface MsgItemInfo_c {
+
+}
+
+

+ 7 - 0
s_to_proto/shared/item/server/MsgItemChange_s.ts

@@ -0,0 +1,7 @@
+
+
+// 道具数量发生改变下发
+export interface MsgItemChange_s {
+    [itemid:string]:number
+}
+

+ 7 - 0
s_to_proto/shared/item/server/MsgItemInfo_s.ts

@@ -0,0 +1,7 @@
+
+
+// 道具列表
+export interface MsgItemInfo_s {
+    [itemid:string]:number
+}
+

+ 20 - 0
s_to_proto/shared/plat/PtlPlatLogin.ts

@@ -0,0 +1,20 @@
+
+
+// 定义请求参数
+export interface ReqPlatLogin {
+    pid:string; //包ID
+    param:string[]; //参数
+}
+
+// 定义返回字段
+export interface ResPlatLogin {
+    openId:string
+    token:string
+}
+
+export const conf = {
+    connet: "http"
+}
+
+
+

+ 49 - 0
s_to_proto/shared/player/PtlPlayerLogin.ts

@@ -0,0 +1,49 @@
+
+// 定义请求参数
+export interface ReqPlayerLogin {
+    pid:string //分包ID
+	openId:string //登陆唯一标识
+	lang:string //语言
+	plat:string //登陆平台
+	device:string //登陆设备
+	parms:string[] //其他参数
+}
+
+// 定义返回字段
+export interface ResPlayerLogin {
+	uid: string; //uid
+	sid: string; //最后一次登陆区服
+	list: { [sid: string]: ResLoginList}; //每个区最多一个角色
+	token: string; //账号登陆验证码
+	//区服列表
+	qufuList:{
+		[sid:string]:qufuInfo
+	}
+	wsUrl:string //ws地址
+}
+
+export interface ResLoginList {
+	uuid: string; //角色ID
+	name: string;
+	level: number; //等级
+	lastlogin: number; //最后一次登录时间
+}
+
+//区服信息
+export interface qufuInfo {
+    sid: string; //区服ID
+    name: string; //名字
+    sName: string; //所属区服大区
+    openAt: number; //开服时间
+    status: string; //状态 1新服 2拥挤 3爆满 4维护
+    heid: string; //合服ID
+    suofu: string; //锁服
+    skin: string; //皮肤
+}
+
+export const conf = {
+    connet: "http"
+}
+
+
+

+ 1720 - 0
s_to_proto/shared/serviceProto.ts

@@ -0,0 +1,1720 @@
+import { ServiceProto } from 'tsrpc-proto';
+import { ReqaddBuMa, ResaddBuMa } from './admin/PtladdBuMa';
+import { ReqaddCode, ResaddCode } from './admin/PtladdCode';
+import { ReqaddMail, ResaddMail } from './admin/PtladdMail';
+import { ReqcacheVer, RescacheVer } from './admin/PtlcacheVer';
+import { ReqdeleteCode, ResdeleteCode } from './admin/PtldeleteCode';
+import { ReqdeleteMail, ResdeleteMail } from './admin/PtldeleteMail';
+import { ReqdeleteQuFu, ResdeleteQuFu } from './admin/PtldeleteQuFu';
+import { ReqdeleteSetting, ResdeleteSetting } from './admin/PtldeleteSetting';
+import { ReqgetCode, ResgetCode } from './admin/PtlgetCode';
+import { ReqgetCodeMa, ResgetCodeMa } from './admin/PtlgetCodeMa';
+import { ReqgetMail, ResgetMail } from './admin/PtlgetMail';
+import { ReqgetNeed, ResgetNeed } from './admin/PtlgetNeed';
+import { ReqgetQuFu, ResgetQuFu } from './admin/PtlgetQuFu';
+import { ReqgetSetting, ResgetSetting } from './admin/PtlgetSetting';
+import { ReqgetVer, ResgetVer } from './admin/PtlgetVer';
+import { ReqhuodongFind, ReshuodongFind } from './admin/PtlhuodongFind';
+import { RequpdateMail, ResupdateMail } from './admin/PtlupdateMail';
+import { RequpdateQuFu, ResupdateQuFu } from './admin/PtlupdateQuFu';
+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 { MsgEpsChange_s } from './eps/server/MsgEpsChange_s';
+import { MsgEpsInfo_s } from './eps/server/MsgEpsInfo_s';
+import { MsgHcInfo_c } from './hc/client/MsgHcInfo_c';
+import { ReqHcMerge, ResHcMerge } from './hc/PtlHcMerge';
+import { MsgHcInfo_s } from './hc/server/MsgHcInfo_s';
+import { MsgItemInfo_c } from './item/client/MsgItemInfo_c';
+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 { ReqUserLogin, ResUserLogin } from './user/PtlUserLogin';
+import { MsgSetName_s } from './user/server/MsgSetName_s';
+import { MsgUserFight_s } from './user/server/MsgUserFight_s';
+
+export interface ServiceType {
+    api: {
+        "admin/addBuMa": {
+            req: ReqaddBuMa,
+            res: ResaddBuMa
+        },
+        "admin/addCode": {
+            req: ReqaddCode,
+            res: ResaddCode
+        },
+        "admin/addMail": {
+            req: ReqaddMail,
+            res: ResaddMail
+        },
+        "admin/cacheVer": {
+            req: ReqcacheVer,
+            res: RescacheVer
+        },
+        "admin/deleteCode": {
+            req: ReqdeleteCode,
+            res: ResdeleteCode
+        },
+        "admin/deleteMail": {
+            req: ReqdeleteMail,
+            res: ResdeleteMail
+        },
+        "admin/deleteQuFu": {
+            req: ReqdeleteQuFu,
+            res: ResdeleteQuFu
+        },
+        "admin/deleteSetting": {
+            req: ReqdeleteSetting,
+            res: ResdeleteSetting
+        },
+        "admin/getCode": {
+            req: ReqgetCode,
+            res: ResgetCode
+        },
+        "admin/getCodeMa": {
+            req: ReqgetCodeMa,
+            res: ResgetCodeMa
+        },
+        "admin/getMail": {
+            req: ReqgetMail,
+            res: ResgetMail
+        },
+        "admin/getNeed": {
+            req: ReqgetNeed,
+            res: ResgetNeed
+        },
+        "admin/getQuFu": {
+            req: ReqgetQuFu,
+            res: ResgetQuFu
+        },
+        "admin/getSetting": {
+            req: ReqgetSetting,
+            res: ResgetSetting
+        },
+        "admin/getVer": {
+            req: ReqgetVer,
+            res: ResgetVer
+        },
+        "admin/huodongFind": {
+            req: ReqhuodongFind,
+            res: ReshuodongFind
+        },
+        "admin/updateMail": {
+            req: RequpdateMail,
+            res: ResupdateMail
+        },
+        "admin/updateQuFu": {
+            req: RequpdateQuFu,
+            res: ResupdateQuFu
+        },
+        "admin/updateSetting": {
+            req: RequpdateSetting,
+            res: ResupdateSetting
+        },
+        "admin/xaizai": {
+            req: Reqxaizai,
+            res: Resxaizai
+        },
+        "hc/HcMerge": {
+            req: ReqHcMerge,
+            res: ResHcMerge
+        },
+        "plat/PlatLogin": {
+            req: ReqPlatLogin,
+            res: ResPlatLogin
+        },
+        "player/PlayerLogin": {
+            req: ReqPlayerLogin,
+            res: ResPlayerLogin
+        },
+        "user/UserLogin": {
+            req: ReqUserLogin,
+            res: ResUserLogin
+        }
+    },
+    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
+    }
+}
+
+export const serviceProto: ServiceProto<ServiceType> = {
+    "version": 38,
+    "services": [
+        {
+            "id": 39,
+            "name": "admin/addBuMa",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 38,
+            "name": "admin/addCode",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 42,
+            "name": "admin/addMail",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 35,
+            "name": "admin/cacheVer",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 40,
+            "name": "admin/deleteCode",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 43,
+            "name": "admin/deleteMail",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 5,
+            "name": "admin/deleteQuFu",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 23,
+            "name": "admin/deleteSetting",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 36,
+            "name": "admin/getCode",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 37,
+            "name": "admin/getCodeMa",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 45,
+            "name": "admin/getMail",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 6,
+            "name": "admin/getNeed",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 7,
+            "name": "admin/getQuFu",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 25,
+            "name": "admin/getSetting",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 26,
+            "name": "admin/getVer",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 46,
+            "name": "admin/huodongFind",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 44,
+            "name": "admin/updateMail",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 8,
+            "name": "admin/updateQuFu",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 31,
+            "name": "admin/updateSetting",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 41,
+            "name": "admin/xaizai",
+            "type": "api",
+            "conf": {
+                "connet": "admin"
+            }
+        },
+        {
+            "id": 18,
+            "name": "common/Items",
+            "type": "msg"
+        },
+        {
+            "id": 19,
+            "name": "common/Message",
+            "type": "msg"
+        },
+        {
+            "id": 49,
+            "name": "eps/client/EpsInfo_c",
+            "type": "msg"
+        },
+        {
+            "id": 50,
+            "name": "eps/server/EpsChange_s",
+            "type": "msg"
+        },
+        {
+            "id": 51,
+            "name": "eps/server/EpsInfo_s",
+            "type": "msg"
+        },
+        {
+            "id": 52,
+            "name": "hc/client/HcInfo_c",
+            "type": "msg"
+        },
+        {
+            "id": 64,
+            "name": "hc/HcMerge",
+            "type": "api",
+            "conf": {
+                "connet": "ws"
+            }
+        },
+        {
+            "id": 53,
+            "name": "hc/server/HcInfo_s",
+            "type": "msg"
+        },
+        {
+            "id": 54,
+            "name": "item/client/ItemInfo_c",
+            "type": "msg"
+        },
+        {
+            "id": 55,
+            "name": "item/server/ItemChange_s",
+            "type": "msg"
+        },
+        {
+            "id": 56,
+            "name": "item/server/ItemInfo_s",
+            "type": "msg"
+        },
+        {
+            "id": 57,
+            "name": "plat/PlatLogin",
+            "type": "api",
+            "conf": {
+                "connet": "http"
+            }
+        },
+        {
+            "id": 58,
+            "name": "player/PlayerLogin",
+            "type": "api",
+            "conf": {
+                "connet": "http"
+            }
+        },
+        {
+            "id": 59,
+            "name": "user/client/SetName_c",
+            "type": "msg"
+        },
+        {
+            "id": 60,
+            "name": "user/client/UserFight_c",
+            "type": "msg"
+        },
+        {
+            "id": 61,
+            "name": "user/UserLogin",
+            "type": "api",
+            "conf": {
+                "connet": "ws"
+            }
+        },
+        {
+            "id": 62,
+            "name": "user/server/SetName_s",
+            "type": "msg"
+        },
+        {
+            "id": 63,
+            "name": "user/server/UserFight_s",
+            "type": "msg"
+        }
+    ],
+    "types": {
+        "admin/PtladdBuMa/ReqaddBuMa": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "id",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "addCount",
+                    "type": {
+                        "type": "Number"
+                    }
+                }
+            ]
+        },
+        "admin/PtladdBuMa/ResaddBuMa": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtladdCode/ReqaddCode": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 1,
+                    "name": "param",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtladdCode/ResaddCode": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtladdMail/ReqaddMail": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "params",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtladdMail/ResaddMail": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlcacheVer/ReqcacheVer": {
+            "type": "Interface"
+        },
+        "admin/PtlcacheVer/RescacheVer": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtldeleteCode/ReqdeleteCode": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "id",
+                    "type": {
+                        "type": "String"
+                    }
+                }
+            ]
+        },
+        "admin/PtldeleteCode/ResdeleteCode": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtldeleteMail/ReqdeleteMail": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "id",
+                    "type": {
+                        "type": "String"
+                    }
+                }
+            ]
+        },
+        "admin/PtldeleteMail/ResdeleteMail": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtldeleteQuFu/ReqdeleteQuFu": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "sid",
+                    "type": {
+                        "type": "String"
+                    }
+                }
+            ]
+        },
+        "admin/PtldeleteQuFu/ResdeleteQuFu": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtldeleteSetting/ReqdeleteSetting": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "key",
+                    "type": {
+                        "type": "String"
+                    }
+                }
+            ]
+        },
+        "admin/PtldeleteSetting/ResdeleteSetting": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlgetCode/ReqgetCode": {
+            "type": "Interface"
+        },
+        "admin/PtlgetCode/ResgetCode": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlgetCodeMa/ReqgetCodeMa": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "id",
+                    "type": {
+                        "type": "String"
+                    }
+                }
+            ]
+        },
+        "admin/PtlgetCodeMa/ResgetCodeMa": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlgetMail/ReqgetMail": {
+            "type": "Interface"
+        },
+        "admin/PtlgetMail/ResgetMail": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlgetNeed/ReqgetNeed": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "stime",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "timeInterval",
+                    "type": {
+                        "type": "Number"
+                    }
+                }
+            ]
+        },
+        "admin/PtlgetNeed/ResgetNeed": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlgetQuFu/ReqgetQuFu": {
+            "type": "Interface"
+        },
+        "admin/PtlgetQuFu/ResgetQuFu": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlgetSetting/ReqgetSetting": {
+            "type": "Interface"
+        },
+        "admin/PtlgetSetting/ResgetSetting": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 2,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlgetVer/ReqgetVer": {
+            "type": "Interface"
+        },
+        "admin/PtlgetVer/ResgetVer": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlhuodongFind/ReqhuodongFind": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "key",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "hdcid",
+                    "type": {
+                        "type": "String"
+                    }
+                }
+            ]
+        },
+        "admin/PtlhuodongFind/ReshuodongFind": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlupdateMail/RequpdateMail": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "id",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "params",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlupdateMail/ResupdateMail": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlupdateQuFu/RequpdateQuFu": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "sid",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "param",
+                    "type": {
+                        "type": "Interface",
+                        "indexSignature": {
+                            "keyType": "String",
+                            "type": {
+                                "type": "Any"
+                            }
+                        }
+                    }
+                }
+            ]
+        },
+        "admin/PtlupdateQuFu/ResupdateQuFu": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlupdateSetting/RequpdateSetting": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "key",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "param",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/PtlupdateSetting/ResupdateSetting": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "admin/Ptlxaizai/Reqxaizai": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "id",
+                    "type": {
+                        "type": "String"
+                    }
+                }
+            ]
+        },
+        "admin/Ptlxaizai/Resxaizai": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "order10Back",
+                    "type": {
+                        "type": "Any"
+                    }
+                }
+            ]
+        },
+        "common/MsgItems/MsgItems": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "items",
+                    "type": {
+                        "type": "Array",
+                        "elementType": {
+                            "type": "Number"
+                        }
+                    }
+                }
+            ]
+        },
+        "common/MsgMessage/MsgMessage": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "message",
+                    "type": {
+                        "type": "String"
+                    }
+                }
+            ]
+        },
+        "eps/client/MsgEpsInfo_c/MsgEpsInfo_c": {
+            "type": "Interface"
+        },
+        "eps/server/MsgEpsChange_s/MsgEpsChange_s": {
+            "type": "Interface",
+            "indexSignature": {
+                "keyType": "String",
+                "type": {
+                    "type": "Number"
+                }
+            }
+        },
+        "eps/server/MsgEpsInfo_s/MsgEpsInfo_s": {
+            "type": "Interface",
+            "indexSignature": {
+                "keyType": "String",
+                "type": {
+                    "type": "Number"
+                }
+            }
+        },
+        "hc/client/MsgHcInfo_c/MsgHcInfo_c": {
+            "type": "Interface"
+        },
+        "hc/PtlHcMerge/ReqHcMerge": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "gzid1",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "gzid2",
+                    "type": {
+                        "type": "String"
+                    }
+                }
+            ]
+        },
+        "hc/PtlHcMerge/ResHcMerge": {
+            "type": "Interface",
+            "indexSignature": {
+                "keyType": "String",
+                "type": {
+                    "type": "Reference",
+                    "target": "hc/server/MsgHcInfo_s/HcInfoGeziInfo"
+                }
+            }
+        },
+        "hc/server/MsgHcInfo_s/HcInfoGeziInfo": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "type",
+                    "type": {
+                        "type": "Reference",
+                        "target": "hc/server/MsgHcInfo_s/HcType"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "unlock",
+                    "type": {
+                        "type": "Reference",
+                        "target": "hc/server/MsgHcInfo_s/HcUnlock"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "correlationId",
+                    "type": {
+                        "type": "Number"
+                    }
+                }
+            ]
+        },
+        "hc/server/MsgHcInfo_s/HcType": {
+            "type": "Enum",
+            "members": [
+                {
+                    "id": 0,
+                    "value": "0"
+                },
+                {
+                    "id": 1,
+                    "value": "1"
+                },
+                {
+                    "id": 2,
+                    "value": "2"
+                },
+                {
+                    "id": 3,
+                    "value": "3"
+                }
+            ]
+        },
+        "hc/server/MsgHcInfo_s/HcUnlock": {
+            "type": "Enum",
+            "members": [
+                {
+                    "id": 0,
+                    "value": "on"
+                },
+                {
+                    "id": 1,
+                    "value": "off"
+                }
+            ]
+        },
+        "hc/server/MsgHcInfo_s/MsgHcInfo_s": {
+            "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/server/MsgHcInfo_s/HcInfoList"
+                    }
+                }
+            ]
+        },
+        "hc/server/MsgHcInfo_s/HcInfoList": {
+            "type": "Interface",
+            "indexSignature": {
+                "keyType": "String",
+                "type": {
+                    "type": "Reference",
+                    "target": "hc/server/MsgHcInfo_s/HcInfoGeziInfo"
+                }
+            }
+        },
+        "item/client/MsgItemInfo_c/MsgItemInfo_c": {
+            "type": "Interface"
+        },
+        "item/server/MsgItemChange_s/MsgItemChange_s": {
+            "type": "Interface",
+            "indexSignature": {
+                "keyType": "String",
+                "type": {
+                    "type": "Number"
+                }
+            }
+        },
+        "item/server/MsgItemInfo_s/MsgItemInfo_s": {
+            "type": "Interface",
+            "indexSignature": {
+                "keyType": "String",
+                "type": {
+                    "type": "Number"
+                }
+            }
+        },
+        "plat/PtlPlatLogin/ReqPlatLogin": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "pid",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "param",
+                    "type": {
+                        "type": "Array",
+                        "elementType": {
+                            "type": "String"
+                        }
+                    }
+                }
+            ]
+        },
+        "plat/PtlPlatLogin/ResPlatLogin": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "openId",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "token",
+                    "type": {
+                        "type": "String"
+                    }
+                }
+            ]
+        },
+        "player/PtlPlayerLogin/ReqPlayerLogin": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "pid",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "openId",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "lang",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 3,
+                    "name": "plat",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 4,
+                    "name": "device",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 5,
+                    "name": "parms",
+                    "type": {
+                        "type": "Array",
+                        "elementType": {
+                            "type": "String"
+                        }
+                    }
+                }
+            ]
+        },
+        "player/PtlPlayerLogin/ResPlayerLogin": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "uid",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "sid",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "list",
+                    "type": {
+                        "type": "Interface",
+                        "indexSignature": {
+                            "keyType": "String",
+                            "type": {
+                                "type": "Reference",
+                                "target": "player/PtlPlayerLogin/ResLoginList"
+                            }
+                        }
+                    }
+                },
+                {
+                    "id": 3,
+                    "name": "token",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 4,
+                    "name": "qufuList",
+                    "type": {
+                        "type": "Interface",
+                        "indexSignature": {
+                            "keyType": "String",
+                            "type": {
+                                "type": "Reference",
+                                "target": "player/PtlPlayerLogin/qufuInfo"
+                            }
+                        }
+                    }
+                },
+                {
+                    "id": 5,
+                    "name": "wsUrl",
+                    "type": {
+                        "type": "String"
+                    }
+                }
+            ]
+        },
+        "player/PtlPlayerLogin/ResLoginList": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "uuid",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "name",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "level",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 3,
+                    "name": "lastlogin",
+                    "type": {
+                        "type": "Number"
+                    }
+                }
+            ]
+        },
+        "player/PtlPlayerLogin/qufuInfo": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "sid",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "name",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "sName",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 3,
+                    "name": "openAt",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 4,
+                    "name": "status",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 5,
+                    "name": "heid",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 6,
+                    "name": "suofu",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 7,
+                    "name": "skin",
+                    "type": {
+                        "type": "String"
+                    }
+                }
+            ]
+        },
+        "user/client/MsgSetName_c/MsgSetName_c": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "name",
+                    "type": {
+                        "type": "String"
+                    }
+                }
+            ]
+        },
+        "user/client/MsgUserFight_c/MsgUserFight_c": {
+            "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": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "fightStart",
+                    "type": {
+                        "type": "Reference",
+                        "target": "user/server/MsgUserFight_s/FightStart"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "win",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "log",
+                    "type": {
+                        "type": "Interface",
+                        "indexSignature": {
+                            "keyType": "String",
+                            "type": {
+                                "type": "Array",
+                                "elementType": {
+                                    "type": "Reference",
+                                    "target": "user/server/MsgUserFight_s/fightLogOne"
+                                }
+                            }
+                        }
+                    }
+                }
+            ]
+        },
+        "user/server/MsgUserFight_s/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_s/FightTeam"
+                            }
+                        }
+                    }
+                }
+            ]
+        },
+        "user/server/MsgUserFight_s/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_s/fightLogOne": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "aType",
+                    "type": {
+                        "type": "Reference",
+                        "target": "user/server/MsgUserFight_s/ActionType"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "atker",
+                    "type": {
+                        "type": "Reference",
+                        "target": "user/server/MsgUserFight_s/fightLogOneData"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "target",
+                    "type": {
+                        "type": "Array",
+                        "elementType": {
+                            "type": "Reference",
+                            "target": "user/server/MsgUserFight_s/fightLogOneData"
+                        }
+                    }
+                }
+            ]
+        },
+        "user/server/MsgUserFight_s/ActionType": {
+            "type": "Enum",
+            "members": [
+                {
+                    "id": 0,
+                    "value": "wu"
+                },
+                {
+                    "id": 1,
+                    "value": "0"
+                },
+                {
+                    "id": 2,
+                    "value": "1"
+                },
+                {
+                    "id": 3,
+                    "value": "2"
+                },
+                {
+                    "id": 4,
+                    "value": "3"
+                },
+                {
+                    "id": 5,
+                    "value": "999"
+                }
+            ]
+        },
+        "user/server/MsgUserFight_s/fightLogOneData": {
+            "type": "Interface",
+            "properties": [
+                {
+                    "id": 0,
+                    "name": "iid",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
+                    "id": 1,
+                    "name": "hp",
+                    "type": {
+                        "type": "Number"
+                    }
+                },
+                {
+                    "id": 2,
+                    "name": "buff",
+                    "type": {
+                        "type": "Array",
+                        "elementType": {
+                            "type": "Tuple",
+                            "elementTypes": [
+                                {
+                                    "type": "String"
+                                },
+                                {
+                                    "type": "Number"
+                                }
+                            ]
+                        }
+                    }
+                },
+                {
+                    "id": 3,
+                    "name": "effect",
+                    "type": {
+                        "type": "Array",
+                        "elementType": {
+                            "type": "Tuple",
+                            "elementTypes": [
+                                {
+                                    "type": "String"
+                                },
+                                {
+                                    "type": "Number"
+                                }
+                            ]
+                        }
+                    }
+                }
+            ]
+        }
+    }
+};

+ 30 - 0
s_to_proto/shared/user/PtlUserLogin.ts

@@ -0,0 +1,30 @@
+// 角色登录
+export interface ReqUserLogin {
+    sid:string;//区服ID
+    uid:string;//账号ID
+    token:string;//账号登录下发的token
+}
+
+// 角色信息返回
+export interface ResUserLogin {
+    uuid:string; //角色ID
+    sid: string; //所属分区
+    name: string; //名字
+    head: string; //头像
+    wxhead: string; //微信头像
+    sex: number; //0女1男
+    level: number; //等级
+    regtime: number; //注册时间
+    loginTime: number; //登录时间
+    lastlogin: number; //最后一次操作时间
+    lang: string; //语言
+    iscz: number; //现金点消耗  +  RMB购买其他礼包(购买现金点除外)
+    rmbcz: number;//RMB购买
+    power: number; //战力
+}
+
+export const conf = {
+    connet: "ws"
+}
+
+

+ 4 - 0
s_to_proto/shared/user/client/MsgSetName_c.ts

@@ -0,0 +1,4 @@
+// 修改名字
+export interface MsgSetName_c {
+    name:string;
+}

+ 6 - 0
s_to_proto/shared/user/client/MsgUserFight_c.ts

@@ -0,0 +1,6 @@
+
+
+// 定义返回字段
+export interface MsgUserFight_c {
+
+}

+ 7 - 0
s_to_proto/shared/user/server/MsgSetName_s.ts

@@ -0,0 +1,7 @@
+
+
+// 返回修改后名字
+export interface MsgSetName_s {
+    name:string
+}
+

+ 53 - 0
s_to_proto/shared/user/server/MsgUserFight_s.ts

@@ -0,0 +1,53 @@
+
+
+// 定义返回字段
+export interface MsgUserFight_s {
+    fightStart:FightStart; //战斗阵容
+    win: number; //0失败 1胜利
+    log: {
+        //战斗日志列表
+        //回合ID:单回合内战斗日志
+        [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 {
+    aType: ActionType; //战斗动作类型
+    atker: fightLogOneData; //出手方
+    target: fightLogOneData[]; //目标
+}
+/**
+ * 战斗动作类型
+ */
+export enum ActionType {
+    wu = "wu", //默认没有 不处理
+    round = "0", //回合开始 玩家出手前
+    buff = "1", //buff
+    atk = "2", //普通攻击
+    wxsk = "3", //技能
+    over = "999", //回合结束
+}
+export interface fightLogOneData {
+    iid: string; //阵容下标
+    hp: number; //剩余血量
+    buff: [string, number][]; //上BUFF [ [BuffID,回合数]]
+    effect: [string, number][]; //触发效果 [ [属性key,数值]]
+}