xiaoyang0346 1 hete
szülő
commit
09fc736620
2 módosított fájl, 29 hozzáadás és 3 törlés
  1. 1 3
      index.js
  2. 28 0
      s_to_proto/shared/user/PtlLogin.ts

+ 1 - 3
index.js

@@ -133,9 +133,7 @@ function exeExcelConfig_c() {
 	});
 
 	let pro = '';
-	if (hang == 4) {
-		pro += 'import { CTX } from "../src/util/master";\n';
-	}
+
 
 	pro += `export default class ConfProxy<T> {
     static getKey(args: string[]): string {

+ 28 - 0
s_to_proto/shared/user/PtlLogin.ts

@@ -0,0 +1,28 @@
+import { BaseRequest, BaseResponse } from '../base';
+
+// 角色登录
+export interface ReqLogin {
+    sid:string;//区服ID
+    uid:string;//账号ID
+    token:string;//账号登录下发的token
+}
+
+// 角色信息返回
+export interface ResLogin {
+    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; //战力
+}
+
+
+