using System.Collections.Generic; using ProtoCSStruct; using Sog; using Sog.Data; namespace Account { public class AccountInfoOnAccountServer : DataSeqSave, ISyncData { public ulong GetRuntimeId() { return runtimeId; } // 运行时id, 用来替换account的hash string提高效率, 不存DB public ulong runtimeId; public int AccountType; public string AccountID; public string AccountToken; public int PlatformType; //平台类型,android 1 ios 2 public string Channel; public long ChannelId; public string DeviceID; // 最近登录设备ID, 客户端重连要判断是否同一设备, 然后走不同的逻辑 public string LastDeviceID; //public long GameID; //游戏里的用户唯一id,对游戏还是有用的,毕竟不是聊天软件(废弃掉) public long CheckCode; //游戏服务器的校验码 public uint WorldServerID; //用户所在的world服务器id public long AccountCreateTime; public uint AccountCreateIp; public int LastLoginRealm; //最后一次登录的游戏世界 public long LoginTime; //登录时间 public long LogoutTime; //登出时间 public bool IsOnline; // 是否在线 public long LastReqAuthTime; //上次请求时间 public int TokenCheckFailCount;//防外挂 public long LastQueryHttpUserInfoTime; public string Nick; public int Gender; public string Icon; public string Email; public long LastQueryHttpSnsFriendTime; public List SnsFriendList; public string TaDistinctID; public int userGrade; // 用户评价 public DBAccountExData accountExData;//额外数据记录 public List roleBriefs; public int userType; //英雄sdk类型 public string openId; //英雄id第三方id public AccountInfoOnAccountServer() { roleBriefs = new List(); } public string session_key; public string openid; public string signature; } }