import { ServiceProto } from 'tsrpc-proto'; import { Reqsendemail, Ressendemail } from './email/Ptlsendemail'; import { Reqdeploy, Resdeploy } from './games/Ptldeploy'; import { Reqheapdump, Resheapdump } from './games/Ptlheapdump'; import { Reqmetrics, Resmetrics } from './games/Ptlmetrics'; import { Reqnotification, Resnotification } from './games/Ptlnotification'; import { Reqopen, Resopen } from './games/Ptlopen'; import { Reqranking, Resranking } from './games/Ptlranking'; import { Reqpopup, Respopup } from './gift/Ptlpopup'; import { ReqPay, ResPay } from './gm/PtlPay'; import { ReqSendPrize, ResSendPrize } from './gm/PtlSendPrize'; import { Reqdetails, Resdetails } from './hdinfo/Ptldetails'; import { ReqAddHuoDong, ResAddHuoDong } from './PtlAddHuoDong'; import { ReqCatAllhd, ResCatAllhd } from './PtlCatAllhd'; import { ReqDelHuoDong, ResDelHuoDong } from './PtlDelHuoDong'; import { ReqEmail, ResEmail } from './PtlEmail'; import { ReqGetLog, ResGetLog } from './PtlGetLog'; import { Reqhealthz, Reshealthz } from './Ptlhealthz'; import { Reqrename, Resrename } from './union/Ptlrename'; import { Reqdata, Resdata } from './user/Ptldata'; import { Reqdisable, Resdisable } from './user/Ptldisable'; import { Reqgetdata, Resgetdata } from './user/Ptlgetdata'; import { Reqrename as Reqrename_1, Resrename as Resrename_1 } from './user/Ptlrename'; export interface ServiceType { api: { "email/sendemail": { req: Reqsendemail, res: Ressendemail }, "games/deploy": { req: Reqdeploy, res: Resdeploy }, "games/heapdump": { req: Reqheapdump, res: Resheapdump }, "games/metrics": { req: Reqmetrics, res: Resmetrics }, "games/notification": { req: Reqnotification, res: Resnotification }, "games/open": { req: Reqopen, res: Resopen }, "games/ranking": { req: Reqranking, res: Resranking }, "gift/popup": { req: Reqpopup, res: Respopup }, "gm/Pay": { req: ReqPay, res: ResPay }, "gm/SendPrize": { req: ReqSendPrize, res: ResSendPrize }, "hdinfo/details": { req: Reqdetails, res: Resdetails }, "AddHuoDong": { req: ReqAddHuoDong, res: ResAddHuoDong }, "CatAllhd": { req: ReqCatAllhd, res: ResCatAllhd }, "DelHuoDong": { req: ReqDelHuoDong, res: ResDelHuoDong }, "Email": { req: ReqEmail, res: ResEmail }, "GetLog": { req: ReqGetLog, res: ResGetLog }, "healthz": { req: Reqhealthz, res: Reshealthz }, "union/rename": { req: Reqrename, res: Resrename }, "user/data": { req: Reqdata, res: Resdata }, "user/disable": { req: Reqdisable, res: Resdisable }, "user/getdata": { req: Reqgetdata, res: Resgetdata }, "user/rename": { req: Reqrename_1, res: Resrename_1 } }, msg: { } } export const serviceProto: ServiceProto = { "services": [ { "id": 0, "name": "email/sendemail", "type": "api" }, { "id": 1, "name": "games/deploy", "type": "api" }, { "id": 2, "name": "games/heapdump", "type": "api" }, { "id": 3, "name": "games/metrics", "type": "api" }, { "id": 4, "name": "games/notification", "type": "api" }, { "id": 5, "name": "games/open", "type": "api" }, { "id": 6, "name": "games/ranking", "type": "api" }, { "id": 7, "name": "gift/popup", "type": "api" }, { "id": 8, "name": "gm/Pay", "type": "api" }, { "id": 9, "name": "gm/SendPrize", "type": "api" }, { "id": 10, "name": "hdinfo/details", "type": "api" }, { "id": 11, "name": "AddHuoDong", "type": "api" }, { "id": 12, "name": "CatAllhd", "type": "api" }, { "id": 13, "name": "DelHuoDong", "type": "api" }, { "id": 14, "name": "Email", "type": "api" }, { "id": 15, "name": "GetLog", "type": "api" }, { "id": 16, "name": "healthz", "type": "api" }, { "id": 17, "name": "union/rename", "type": "api" }, { "id": 18, "name": "user/data", "type": "api" }, { "id": 19, "name": "user/disable", "type": "api" }, { "id": 20, "name": "user/getdata", "type": "api" }, { "id": 21, "name": "user/rename", "type": "api" } ], "types": { "email/Ptlsendemail/Reqsendemail": { "type": "Interface", "properties": [ { "id": 0, "name": "prize", "type": { "type": "Array", "elementType": { "type": "Reference", "target": "../../shared/protocols/type/prizeType" } }, "optional": true }, { "id": 1, "name": "title", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Any" } } } }, { "id": 2, "name": "content", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Any" } } } }, { "id": 3, "name": "sendType", "type": { "type": "Number" } }, { "id": 4, "name": "uids", "type": { "type": "Array", "elementType": { "type": "String" } }, "optional": true } ] }, "../../shared/protocols/type/prizeType": { "type": "Interface", "properties": [ { "id": 0, "name": "a", "type": { "type": "String" } }, { "id": 1, "name": "t", "type": { "type": "Any" } }, { "id": 2, "name": "n", "type": { "type": "Number" } }, { "id": 3, "name": "colour", "type": { "type": "Number" }, "optional": true }, { "id": 4, "name": "shiwuBuff", "type": { "type": "Any" }, "optional": true } ] }, "email/Ptlsendemail/Ressendemail": { "type": "Interface", "properties": [ { "id": 0, "name": "result", "type": { "type": "Number" } }, { "id": 1, "name": "sendNum", "type": { "type": "Number" } } ] }, "games/Ptldeploy/Reqdeploy": { "type": "Interface" }, "games/Ptldeploy/Resdeploy": { "type": "Interface", "properties": [ { "id": 0, "name": "code", "type": { "type": "Number" } }, { "id": 1, "name": "message", "type": { "type": "Literal", "literal": "success" } } ] }, "games/Ptlheapdump/Reqheapdump": { "type": "Interface", "properties": [ { "id": 0, "name": "act", "type": { "type": "String" } }, { "id": 1, "name": "data", "type": { "type": "Any" } } ] }, "games/Ptlheapdump/Resheapdump": { "type": "Interface", "properties": [ { "id": 0, "name": "code", "type": { "type": "Number" } }, { "id": 1, "name": "data", "type": { "type": "Any" } } ] }, "games/Ptlmetrics/Reqmetrics": { "type": "Interface" }, "games/Ptlmetrics/Resmetrics": { "type": "Interface", "properties": [ { "id": 0, "name": "now_paid_user_num", "type": { "type": "Number" } }, { "id": 1, "name": "now_login_user_num", "type": { "type": "Number" } }, { "id": 2, "name": "now_register_user_num", "type": { "type": "Number" } } ] }, "games/Ptlnotification/Reqnotification": { "type": "Interface", "properties": [ { "id": 0, "name": "action", "type": { "type": "Union", "members": [ { "id": 0, "type": { "type": "Literal", "literal": "publish" } }, { "id": 1, "type": { "type": "Literal", "literal": "offline" } } ] } }, { "id": 1, "name": "template", "type": { "type": "Union", "members": [ { "id": 0, "type": { "type": "Literal", "literal": "server_mail" } }, { "id": 1, "type": { "type": "Literal", "literal": "player_mail" } }, { "id": 2, "type": { "type": "Literal", "literal": "bulletin" } }, { "id": 3, "type": { "type": "Literal", "literal": "news_ticker" } } ] } }, { "id": 2, "name": "richTextType", "type": { "type": "String" }, "optional": true }, { "id": 3, "name": "data", "type": { "type": "Any" }, "optional": true } ] }, "games/Ptlnotification/Resnotification": { "type": "Interface", "properties": [ { "id": 0, "name": "code", "type": { "type": "Number" } }, { "id": 1, "name": "message", "type": { "type": "Literal", "literal": "success" } } ] }, "games/Ptlopen/Reqopen": { "type": "Interface", "properties": [ { "id": 0, "name": "opentime", "type": { "type": "String" } }, { "id": 1, "name": "utc", "type": { "type": "String" }, "optional": true } ] }, "games/Ptlopen/Resopen": { "type": "Interface", "properties": [ { "id": 0, "name": "code", "type": { "type": "Number" } }, { "id": 1, "name": "message", "type": { "type": "String" } } ] }, "games/Ptlranking/Reqranking": { "type": "Interface", "properties": [ { "id": 0, "name": "num", "type": { "type": "Number" } }, { "id": 1, "name": "skip", "type": { "type": "Number" } }, { "id": 2, "name": "rankid", "type": { "type": "Reference", "target": "../../shared/protocols/rank/PtlOpen/rankType" } } ] }, "../../shared/protocols/rank/PtlOpen/rankType": { "type": "Union", "members": [ { "id": 0, "type": { "type": "Literal", "literal": "jjc" } }, { "id": 1, "type": { "type": "Literal", "literal": "tanxian" } }, { "id": 2, "type": { "type": "Literal", "literal": "zhanli" } }, { "id": 3, "type": { "type": "Literal", "literal": "qjzzd" } }, { "id": 4, "type": { "type": "Literal", "literal": "hbzbLocal" } }, { "id": 5, "type": { "type": "Literal", "literal": "hbzbCross" } }, { "id": 6, "type": { "type": "Literal", "literal": "hbzbZbsCross" } }, { "id": 7, "type": { "type": "Literal", "literal": "slzd1" } }, { "id": 8, "type": { "type": "Literal", "literal": "slzd2" } }, { "id": 9, "type": { "type": "Literal", "literal": "slzd3" } }, { "id": 10, "type": { "type": "Literal", "literal": "slzd4" } }, { "id": 11, "type": { "type": "Literal", "literal": "slzd5" } }, { "id": 12, "type": { "type": "Literal", "literal": "slzd6" } }, { "id": 13, "type": { "type": "Literal", "literal": "clslCross" } }, { "id": 14, "type": { "type": "Literal", "literal": "kbzz" } }, { "id": 15, "type": { "type": "Literal", "literal": "xszm" } }, { "id": 16, "type": { "type": "Literal", "literal": "zccg" } }, { "id": 17, "type": { "type": "Literal", "literal": "gbzl" } }, { "id": 18, "type": { "type": "Literal", "literal": "tujian" } }, { "id": 19, "type": { "type": "Literal", "literal": "wzryCross" } } ] }, "games/Ptlranking/Resranking": { "type": "Interface", "properties": [ { "id": 0, "name": "code", "type": { "type": "Number" } }, { "id": 1, "name": "message", "type": { "type": "String" } }, { "id": 2, "name": "data", "type": { "type": "Array", "elementType": { "type": "Interface", "properties": [ { "id": 0, "name": "ranking", "type": { "type": "Number" } }, { "id": 1, "name": "id", "type": { "type": "String" } }, { "id": 2, "name": "name", "type": { "type": "String" } }, { "id": 3, "name": "rankkingValue", "type": { "type": "String" } } ] } } } ] }, "gift/Ptlpopup/Reqpopup": { "type": "Interface", "properties": [ { "id": 0, "name": "popup_id", "type": { "type": "String" } }, { "id": 1, "name": "ctwid", "type": { "type": "String" } }, { "id": 2, "name": "game_user_id", "type": { "type": "String" } }, { "id": 3, "name": "game_server_id", "type": { "type": "String" } }, { "id": 4, "name": "role", "type": { "type": "Interface", "properties": [ { "id": 0, "name": "id", "type": { "type": "String" } } ] } }, { "id": 5, "name": "gift", "type": { "type": "Interface", "properties": [ { "id": 0, "name": "id", "type": { "type": "String" } } ] } }, { "id": 6, "name": "template_id", "type": { "type": "String" } }, { "id": 7, "name": "id", "type": { "type": "String" } }, { "id": 8, "name": "vipPoints", "type": { "type": "Number" } }, { "id": 9, "name": "amountToDiamond", "type": { "type": "Number" } }, { "id": 10, "name": "price", "type": { "type": "Number" } }, { "id": 11, "name": "priceValueRatio", "type": { "type": "Number" } }, { "id": 12, "name": "duration", "type": { "type": "Number" } }, { "id": 13, "name": "purchaseLimitAmount", "type": { "type": "Number" } }, { "id": 14, "name": "isAISupported", "type": { "type": "Boolean" } }, { "id": 15, "name": "platformCreative", "type": { "type": "Interface", "properties": [ { "id": 0, "name": "enabled", "type": { "type": "Boolean" } }, { "id": 1, "name": "background", "type": { "type": "String" }, "optional": true } ] } }, { "id": 16, "name": "items", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Any" } } } }, { "id": 17, "name": "buyNumber", "type": { "type": "Number" }, "optional": true } ] }, "gift/Ptlpopup/Respopup": { "type": "Interface" }, "gm/PtlPay/ReqPay": { "type": "Interface", "properties": [ { "id": 0, "name": "uid", "type": { "type": "String" } }, { "id": 1, "name": "payId", "type": { "type": "String" } }, { "id": 2, "name": "payArgs", "type": { "type": "Any" }, "optional": true }, { "id": 3, "name": "type", "type": { "type": "Union", "members": [ { "id": 0, "type": { "type": "Literal", "literal": "system" } }, { "id": 1, "type": { "type": "Literal", "literal": "user" } }, { "id": 2, "type": { "type": "Literal", "literal": "legu" } } ] } }, { "id": 4, "name": "orderNo", "type": { "type": "String" } } ] }, "gm/PtlPay/ResPay": { "type": "Interface" }, "gm/PtlSendPrize/ReqSendPrize": { "type": "Interface", "properties": [ { "id": 0, "name": "uid", "type": { "type": "String" } }, { "id": 1, "name": "payId", "type": { "type": "String" } }, { "id": 2, "name": "type", "type": { "type": "Union", "members": [ { "id": 0, "type": { "type": "Literal", "literal": "system" } }, { "id": 1, "type": { "type": "Literal", "literal": "user" } } ] } } ] }, "gm/PtlSendPrize/ResSendPrize": { "type": "Interface" }, "hdinfo/Ptldetails/Reqdetails": { "type": "Interface", "properties": [ { "id": 0, "name": "num", "type": { "type": "Number" } }, { "id": 1, "name": "skip", "type": { "type": "Number" } }, { "id": 2, "name": "uid", "type": { "type": "String" }, "optional": true } ] }, "hdinfo/Ptldetails/Resdetails": { "type": "Interface", "properties": [ { "id": 0, "name": "status", "type": { "type": "Number" } }, { "id": 1, "name": "message", "type": { "type": "String" } }, { "id": 2, "name": "data", "type": { "type": "Array", "elementType": { "type": "Reference", "target": "hdinfo/Ptldetails/g123_response_hdinfo_details" } } } ] }, "hdinfo/Ptldetails/g123_response_hdinfo_details": { "type": "Interface", "properties": [ { "id": 0, "name": "total", "type": { "type": "Number" } }, { "id": 1, "name": "elemengts", "type": { "type": "Array", "elementType": { "type": "Reference", "target": "hdinfo/Ptldetails/g123_response_hdinfo_details_taowa" } } } ] }, "hdinfo/Ptldetails/g123_response_hdinfo_details_taowa": { "type": "Interface", "properties": [ { "id": 0, "name": "eventId", "type": { "type": "String" } }, { "id": 1, "name": "eventName", "type": { "type": "String" } }, { "id": 2, "name": "serverId", "type": { "type": "Number" } }, { "id": 3, "name": "accountingTime", "type": { "type": "Number" } }, { "id": 4, "name": "accountingData", "type": { "type": "Array", "elementType": { "type": "Reference", "target": "hdinfo/Ptldetails/g123_response_hdinfo_details_accountingData" } } } ] }, "hdinfo/Ptldetails/g123_response_hdinfo_details_accountingData": { "type": "Interface", "properties": [ { "id": 0, "name": "ranking", "type": { "type": "Number" } }, { "id": 1, "name": "participantId", "type": { "type": "String" } }, { "id": 2, "name": "value", "type": { "type": "String" } } ] }, "PtlAddHuoDong/ReqAddHuoDong": { "type": "Interface", "properties": [ { "id": 0, "name": "hdid", "type": { "type": "Number" } }, { "id": 1, "name": "htype", "type": { "type": "Reference", "target": "PtlAddHuoDong/Htypes" } }, { "id": 2, "name": "stype", "type": { "type": "Reference", "target": "PtlAddHuoDong/Stypes" } }, { "id": 3, "name": "ttype", "type": { "type": "Union", "members": [ { "id": 0, "type": { "type": "Literal", "literal": 0 } }, { "id": 1, "type": { "type": "Literal", "literal": 1 } }, { "id": 2, "type": { "type": "Literal", "literal": 4 } } ] } }, { "id": 4, "name": "stime", "type": { "type": "Number" } }, { "id": 5, "name": "rtime", "type": { "type": "Number" } }, { "id": 6, "name": "etime", "type": { "type": "Number" } }, { "id": 7, "name": "showtime", "type": { "type": "String" } }, { "id": 8, "name": "data", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Any" } } } }, { "id": 9, "name": "name", "type": { "type": "String" } }, { "id": 10, "name": "icon", "type": { "type": "String" }, "optional": true }, { "id": 11, "name": "opencond", "type": { "type": "String" }, "optional": true } ] }, "PtlAddHuoDong/Htypes": { "type": "Number" }, "PtlAddHuoDong/Stypes": { "type": "Number" }, "PtlAddHuoDong/ResAddHuoDong": { "type": "Interface", "properties": [ { "id": 0, "name": "insertId", "type": { "type": "String" } } ] }, "PtlCatAllhd/ReqCatAllhd": { "type": "Interface", "properties": [ { "id": 0, "name": "where", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Any" } } }, "optional": true } ] }, "PtlCatAllhd/ResCatAllhd": { "type": "Interface", "properties": [ { "id": 0, "name": "hdlist", "type": { "type": "Array", "elementType": { "type": "Reference", "target": "PtlAddHuoDong/ReqAddHuoDong" } } } ] }, "PtlDelHuoDong/ReqDelHuoDong": { "type": "Interface", "properties": [ { "id": 0, "name": "hdid", "type": { "type": "Number" } } ] }, "PtlDelHuoDong/ResDelHuoDong": { "type": "Interface", "properties": [ { "id": 0, "name": "status", "type": { "type": "Literal", "literal": "success" } } ] }, "PtlEmail/ReqEmail": { "type": "Interface", "properties": [ { "id": 0, "name": "uid", "type": { "type": "String" } }, { "id": 1, "name": "type", "type": { "type": "Union", "members": [ { "id": 0, "type": { "type": "Literal", "literal": "system" } }, { "id": 1, "type": { "type": "Literal", "literal": "gm" } } ] } }, { "id": 2, "name": "title", "type": { "type": "String" } }, { "id": 3, "name": "content", "type": { "type": "String" } }, { "id": 4, "name": "prize", "type": { "type": "Array", "elementType": { "type": "Interface", "properties": [ { "id": 0, "name": "a", "type": { "type": "String" } }, { "id": 1, "name": "t", "type": { "type": "String" } }, { "id": 2, "name": "n", "type": { "type": "Number" } } ] } }, "optional": true }, { "id": 5, "name": "contentInsertArr", "type": { "type": "Array", "elementType": { "type": "Any" } }, "optional": true }, { "id": 6, "name": "prizelist", "type": { "type": "Array", "elementType": { "type": "String" } }, "optional": true }, { "id": 7, "name": "dellist", "type": { "type": "Array", "elementType": { "type": "String" } }, "optional": true }, { "id": 8, "name": "g123log", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Any" } } }, "optional": true }, { "id": 9, "name": "lngTitle", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Any" } } }, "optional": true }, { "id": 10, "name": "lngContent", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Any" } } }, "optional": true } ] }, "PtlEmail/ResEmail": { "type": "Interface", "properties": [ { "id": 0, "name": "insertId", "type": { "type": "String" } } ] }, "PtlGetLog/ReqGetLog": { "type": "Interface" }, "PtlGetLog/ResGetLog": { "type": "String" }, "Ptlhealthz/Reqhealthz": { "type": "Interface", "properties": [ { "id": 0, "name": "key", "type": { "type": "String" }, "optional": true } ] }, "Ptlhealthz/Reshealthz": { "type": "Interface", "properties": [ { "id": 0, "name": "code", "type": { "type": "Number" } }, { "id": 1, "name": "data", "type": { "type": "Interface", "properties": [ { "id": 0, "name": "dependencies", "type": { "type": "Array", "elementType": { "type": "Interface", "properties": [ { "id": 0, "name": "dependency", "type": { "type": "String" } }, { "id": 1, "name": "status", "type": { "type": "Number" } }, { "id": 2, "name": "reason", "type": { "type": "String" } }, { "id": 3, "name": "severity", "type": { "type": "String" } }, { "id": 4, "name": "lastcheck", "type": { "type": "String" } } ] } } } ] } } ] }, "union/Ptlrename/Reqrename": { "type": "Interface", "properties": [ { "id": 0, "name": "guildId", "type": { "type": "String" } }, { "id": 1, "name": "guildName", "type": { "type": "String" } } ] }, "union/Ptlrename/Resrename": { "type": "Interface", "properties": [ { "id": 0, "name": "status", "type": { "type": "Number" } }, { "id": 1, "name": "message", "type": { "type": "String" } } ] }, "user/Ptldata/Reqdata": { "type": "Interface", "properties": [ { "id": 0, "name": "action", "type": { "type": "Literal", "literal": "import" } }, { "id": 1, "name": "template", "type": { "type": "Literal", "literal": "players" } }, { "id": 2, "name": "data", "type": { "type": "Interface", "properties": [ { "id": 0, "name": "playerId", "type": { "type": "String" } }, { "id": 1, "name": "playerData", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Any" } } } } ] } } ] }, "user/Ptldata/Resdata": { "type": "Interface", "properties": [ { "id": 0, "name": "code", "type": { "type": "Number" } }, { "id": 1, "name": "message", "type": { "type": "String" } } ] }, "user/Ptldisable/Reqdisable": { "type": "Interface", "properties": [ { "id": 0, "name": "uid", "type": { "type": "String" } }, { "id": 1, "name": "value", "type": { "type": "Number" } }, { "id": 2, "name": "type", "type": { "type": "Number" } } ] }, "user/Ptldisable/Resdisable": { "type": "Interface", "properties": [ { "id": 0, "name": "result", "type": { "type": "Number" } } ] }, "user/Ptlgetdata/Reqgetdata": { "type": "Interface", "properties": [ { "id": 0, "name": "user_id", "type": { "type": "String" } } ] }, "user/Ptlgetdata/Resgetdata": { "type": "Interface", "properties": [ { "id": 0, "name": "code", "type": { "type": "Number" } }, { "id": 1, "name": "message", "type": { "type": "String" } }, { "id": 2, "name": "data", "type": { "type": "IndexedAccess", "index": "gud", "objectType": { "type": "Reference", "target": "../../shared/protocols/user/PtlLogin/ResLogin" } } } ] }, "../../shared/protocols/user/PtlLogin/ResLogin": { "type": "Interface", "properties": [ { "id": 0, "name": "gud", "type": { "type": "Intersection", "members": [ { "id": 0, "type": { "type": "Reference", "target": "../../shared/protocols/user/PtlLogin/playerInfo" } }, { "id": 1, "type": { "type": "Reference", "target": "../../shared/protocols/user/PtlLogin/playerAttr" } }, { "id": 2, "type": { "type": "Partial", "target": { "type": "Reference", "target": "../../shared/protocols/user/PtlLogin/playerAppend" } } } ] } }, { "id": 1, "name": "openTime", "type": { "type": "String" } }, { "id": 2, "name": "openDay", "type": { "type": "Number" } }, { "id": 3, "name": "curTime", "type": { "type": "Number" } }, { "id": 4, "name": "firstLogin", "type": { "type": "Boolean" } }, { "id": 5, "name": "otherData", "type": { "type": "Any" }, "optional": true } ] }, "../../shared/protocols/user/PtlLogin/playerInfo": { "type": "Interface", "properties": [ { "id": 0, "name": "lv", "type": { "type": "Number" } }, { "id": 1, "name": "vip", "type": { "type": "Number" } }, { "id": 2, "name": "uid", "type": { "type": "String" } }, { "id": 3, "name": "bindUid", "type": { "type": "String" } }, { "id": 4, "name": "power", "type": { "type": "Number" } }, { "id": 5, "name": "maxpower", "type": { "type": "Number" }, "optional": true }, { "id": 6, "name": "status", "type": { "type": "Number" }, "optional": true }, { "id": 7, "name": "status_chat", "type": { "type": "Number" }, "optional": true } ] }, "../../shared/protocols/user/PtlLogin/playerAttr": { "type": "Intersection", "members": [ { "id": 0, "type": { "type": "Interface", "properties": [ { "id": 0, "name": "nexp", "type": { "type": "Number" } }, { "id": 1, "name": "jinbi", "type": { "type": "Number" } }, { "id": 2, "name": "rmbmoney", "type": { "type": "Number" } }, { "id": 3, "name": "rongyu", "type": { "type": "Number" } }, { "id": 4, "name": "payExp", "type": { "type": "Number" }, "optional": true }, { "id": 5, "name": "guijinshu", "type": { "type": "Number" }, "optional": true } ] } }, { "id": 1, "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Any" } } } } ] }, "../../shared/protocols/user/PtlLogin/playerAppend": { "type": "Interface", "properties": [ { "id": 0, "name": "tujianLv", "type": { "type": "Number" } }, { "id": 1, "name": "head", "type": { "type": "Interface", "properties": [ { "id": 0, "name": "id", "type": { "type": "String" } }, { "id": 1, "name": "time", "type": { "type": "Number" } } ] } }, { "id": 2, "name": "headFrame", "type": { "type": "Interface", "properties": [ { "id": 0, "name": "id", "type": { "type": "String" } }, { "id": 1, "name": "time", "type": { "type": "Number" } } ] } }, { "id": 3, "name": "chatFrame", "type": { "type": "Interface", "properties": [ { "id": 0, "name": "id", "type": { "type": "String" } }, { "id": 1, "name": "time", "type": { "type": "Number" } } ] } }, { "id": 4, "name": "name", "type": { "type": "String" } }, { "id": 5, "name": "upModel", "type": { "type": "Interface", "properties": [ { "id": 0, "name": "id", "type": { "type": "String" } }, { "id": 1, "name": "time", "type": { "type": "Number" } } ] } }, { "id": 6, "name": "model", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Interface", "properties": [ { "id": 0, "name": "id", "type": { "type": "String" } }, { "id": 1, "name": "time", "type": { "type": "Number" } } ] } } } }, { "id": 7, "name": "renown", "type": { "type": "Number" } }, { "id": 8, "name": "wxcLv", "type": { "type": "Interface", "properties": [ { "id": 0, "name": "lv", "type": { "type": "Number" } }, { "id": 1, "name": "ids", "type": { "type": "Array", "elementType": { "type": "Number" } } } ] } }, { "id": 9, "name": "mapId", "type": { "type": "Number" } }, { "id": 10, "name": "shoucangping", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Number" } } } }, { "id": 11, "name": "useTujianLvPoint", "type": { "type": "Number" } }, { "id": 12, "name": "skills", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Number" } } } }, { "id": 13, "name": "fightSkills", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "String" } } } }, { "id": 14, "name": "heroPos", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "String" } } } }, { "id": 15, "name": "ghId", "type": { "type": "String" } }, { "id": 16, "name": "ghName", "type": { "type": "String" } }, { "id": 17, "name": "ghLevel", "type": { "type": "Reference", "target": "../../shared/protocols/gonghui/type/gonghuiLevel" } }, { "id": 18, "name": "ghwz", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Number" } } }, "optional": true }, { "id": 19, "name": "ghExitTime", "type": { "type": "Number" }, "optional": true }, { "id": 20, "name": "loginTime", "type": { "type": "Number" }, "optional": true }, { "id": 21, "name": "logoutTime", "type": { "type": "Number" }, "optional": true }, { "id": 22, "name": "cTime", "type": { "type": "Number" }, "optional": true }, { "id": 23, "name": "loginDays", "type": { "type": "Number" }, "optional": true }, { "id": 24, "name": "serverName", "type": { "type": "String" }, "optional": true }, { "id": 25, "name": "sid", "type": { "type": "Number" }, "optional": true }, { "id": 26, "name": "onlineTime", "type": { "type": "Number" }, "optional": true }, { "id": 27, "name": "newonlinetime", "type": { "type": "Number" }, "optional": true }, { "id": 28, "name": "isNpc", "type": { "type": "Boolean" }, "optional": true }, { "id": 29, "name": "matrix", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Number" } } }, "optional": true }, { "id": 30, "name": "matrixPos", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "String" } } } } }, "optional": true }, { "id": 31, "name": "selectMatrix", "type": { "type": "String" }, "optional": true }, { "id": 32, "name": "fightHeros", "type": { "type": "Array", "elementType": { "type": "String" } }, "optional": true }, { "id": 33, "name": "helpHeros", "type": { "type": "Array", "elementType": { "type": "Interface", "properties": [ { "id": 0, "name": "_id", "type": { "type": "String" } }, { "id": 1, "name": "jieji", "type": { "type": "Number" } }, { "id": 2, "name": "heroId", "type": { "type": "Union", "members": [ { "id": 0, "type": { "type": "String" } }, { "id": 1, "type": { "type": "Number" } } ] }, "optional": true }, { "id": 3, "name": "heroPosId", "type": { "type": "Union", "members": [ { "id": 0, "type": { "type": "String" } }, { "id": 1, "type": { "type": "Number" } }, { "id": 2, "type": { "type": "Literal" } } ] }, "optional": true } ] } }, "optional": true }, { "id": 34, "name": "changeNameNum", "type": { "type": "Number" }, "optional": true }, { "id": 35, "name": "peijianUnlock", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "String" } } }, "optional": true }, { "id": 36, "name": "headFrames", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Number" } } }, "optional": true }, { "id": 37, "name": "chatFrames", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Number" } } }, "optional": true }, { "id": 38, "name": "weiwangbuff", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Number" } } }, "optional": true }, { "id": 39, "name": "heroskin", "type": { "type": "Interface", "indexSignature": { "keyType": "String", "type": { "type": "Number" } } }, "optional": true } ] }, "../../shared/protocols/gonghui/type/gonghuiLevel": { "type": "Union", "members": [ { "id": 0, "type": { "type": "Literal", "literal": 0 } }, { "id": 1, "type": { "type": "Literal", "literal": 1 } }, { "id": 2, "type": { "type": "Literal", "literal": 2 } }, { "id": 3, "type": { "type": "Literal", "literal": 3 } }, { "id": 4, "type": { "type": "Literal", "literal": 4 } } ] }, "user/Ptlrename/Reqrename": { "type": "Interface", "properties": [ { "id": 0, "name": "action", "type": { "type": "Literal", "literal": "rename" } }, { "id": 1, "name": "template", "type": { "type": "Literal", "literal": "players" } }, { "id": 2, "name": "data", "type": { "type": "Interface", "properties": [ { "id": 0, "name": "playerId", "type": { "type": "String" } }, { "id": 1, "name": "nickname", "type": { "type": "String" } } ] } } ] }, "user/Ptlrename/Resrename": { "type": "Interface", "properties": [ { "id": 0, "name": "code", "type": { "type": "Number" } }, { "id": 1, "name": "message", "type": { "type": "String" } } ] } } };