using Thousandto.CoreSDK; namespace Thousandto.CoreSDK { /// /// 外部调用的sdk的接口函数,将一些sdk相关的东西封装一下 /// public class SDKCacheData { #region 角色信息 public static string RoleName { get; set; } public static string RoleID { get; set; } public static string RoleLevel { get; set; } public static string RoleVipLevel { get; set; } public static string RoleCreateTime { get; set; } public static string RoleLevelUpTime { get; set; } public static string RoleGoldBalance { get; set; } //角色身上剩余的元宝 public static string RoleRechargeBalance { get; set; } //本次充值所得元宝 public static string RoleGuidName { get; set; } //公会名 public static string RoleRealmLv{ get; set; } //境界等级 public static string FightPower { get; set; } //角色战力 public static string RoleSex { get; set; } //角色性别0:女,1:男 public static string MapId { get; set; } //当前地图ID public static string AppVersion { get; set; } //游戏版本号 public static string LoginType { get; set; } //登陆类型,普通登录=1,掉线重连=2 ,跨天登记=3 #endregion #region 服务器信息 public static string ServerName { get; set; } public static string ServerID { get; set; } #endregion #region 订单信息 public static string RechargeBalance { get; set; } //RMB和元宝兑换比例 public static string ItemPrice { get; set; } //价格 public static string BuyNum { get; set; } //购买数量 public static string ItemDes { get; set; } //商品描述 public static string ItemId { get; set; } //商品id public static string ItemName { get; set; } //商品名 public static string ItemType { get; set; } //元宝(商品类型) public static string ItemCurrency { get; set; } //货币类型 public static string OrderId { get; set; } //U8Server订单号,下单时,U8Server返回的 public static string PayCfgId { get; set; } //RechargeItem表的ID public static string PayNotifyUrl { get; set; } //通知发货的地址 public static string GoodsDealType { get; set; } //SDK要的充值类型 public static string OrderNo { get; set; } //充值的订单号 #endregion #region 平台 渠道信息 public static string UserID { get; set; } //平台的唯一uid public static string UserName { get; set; } //第三方渠道的账号ID 或者名字 #endregion #region U8SDK的参数,主要是针对x8 sdk来存储一些必要的数据 public static string ServersJson { get; set; } //SDK那边获取到的服务器列表 public static string DefaultURL = "http://tzj-xpt.iwgame.cc"; //默认的域名环境 public static string ServerUrl { get; set; } //服务器列表的域名 public static string SecID { get; set; } //SDK那边获取到的“场景ID”,现有的“区服列表”接口新增“场景ID”(如sce_id)可选参数,如果传入了此值,会和后台配置的场景ID做匹配,匹配上了返回对应的标签,没匹配上,则返回一个默认标签(如“火爆”?) public static string DevicesId { get; set; } //SDK回传的设备ID public static string SourceId { get; set; } //SDK返回的srid public static string PlatUserName { get; set; } //SDK登陆成功之后返回的第三方渠道的账号ID 或者名字 public static string PlatformUID { get; set; } //SDK登陆返回的UserID public static string Token { get; set; } //SDK登陆成功之后的Token public static string AppID { get; set; } //应用编号 public static string ChannelID { get; set; } //渠道编号 public static string NoticeContent { get; set; } //公告内容 public static string CPExtData { get; set; } //渠道(如4399)额外的内容.[JSON数据]sdk渠道的id,平台名称,简称等等信息 #endregion #region 第三方渠道的一些数据 /// /// 渠道(如4399)的UserID[注意:有可能是空的] /// public static string CPUserID { get; set; } /// /// 渠道的用户名 /// public static string CPUserName { get; set; } /// /// SDK获取的平台ID /// public static string CPPlatformId { get; set; } /// /// 游戏平台简称 /// public static string CPPlatformGname { get; set; } /// /// 游戏简称 /// public static string CPGameName { get; set; } /// /// 用户设备ID,Android系统取IMEI码; /// iOS6.0以前系统取设备号,iOS6.0及以后的系统取广告标示符(IDFA -Identifier For Advertising), /// PC可以采用mac地址。请注意不要用MD5加密did字段 /// public static string CPDid { get; set; } /// /// 设备名称,如 HUAWEI 9508 /// public static string CPDevice_name { get; set; } /// /// SDK获取的gameID /// public static string CPGameId { get; set; } #endregion #region QQ大厅的参数 /// /// QQ大区ID /// public static string QQZoneID { get; set; } #endregion /// /// 运营商 /// public static string Merchant { get; set; } public static string Extension{ get; set; } //扩展字段,支付回调时原样返回此参数 } }