Beispiel #1
0
 /// <summary>
 /// 获取战绩列表
 /// </summary>
 /// <param name="Token"></param>
 /// <param name="Qquin"></param>
 /// <param name="AeroId"></param>
 /// <param name="PageNum"></param>
 /// <returns></returns>
 public static JObject GetBattleList(string Token, string Qquin, string AeroId, string PageNum)
 {
     return(CallDaiWanAPI.CallRemoteAPI(Token, string.Format(@"*******BattleList?qquin={0}&areaid={1}&page={2}", Qquin, AeroId, PageNum)));
 }
Beispiel #2
0
 /// <summary>
 /// 获取单场游戏数据
 /// </summary>
 /// <param name="Token"></param>
 /// <param name="AeroId"></param>
 /// <param name="GameId"></param>
 /// <returns></returns>
 public static JObject GetGameDetail(string Token, string AeroId, string GameId)
 {
     return(CallDaiWanAPI.CallRemoteAPI(Token, string.Format(@"*******GameDetail?areaid={0}&gameid={1}", AeroId, GameId)));
 }
Beispiel #3
0
        //=========================================================================================================
        //                                                                                                        用户数据
        //=========================================================================================================

        /// <summary>
        /// 获取用户区域数据(通过昵称)
        /// </summary>
        /// <param name="Token"></param>
        /// <param name="UserName"></param>
        /// <returns></returns>
        public static JObject GetUserAeroByCname(string Token, string UserName)
        {
            return(CallDaiWanAPI.CallRemoteAPI(Token, string.Format(@"*******UserArea?userName={0}", UserName)));
        }
Beispiel #4
0
 /// <summary>
 /// 获取用户基本信息(通过Qquin和AeroId)
 /// </summary>
 /// <param name="Token"></param>
 /// <param name="Qquin"></param>
 /// <param name="AeroId"></param>
 /// <returns></returns>
 public static JObject GetUserInfoByQquin(string Token, string Qquin, string AeroId)
 {
     return(CallDaiWanAPI.CallRemoteAPI(Token, string.Format(@"*******UserExtInfo?qquin={0}&areaid={1}", Qquin, AeroId)));
 }
Beispiel #5
0
 /// <summary>
 /// 获取所有英雄
 /// </summary>
 /// <param name="Token"></param>
 /// <returns></returns>
 public static JObject GetAllChampion(string Token)
 {
     return(CallDaiWanAPI.CallRemoteAPI(Token, @"*******AllHero"));
 }
Beispiel #6
0
 /// <summary>
 /// 获取周免英雄集合
 /// </summary>
 /// <param name="Token"></param>
 /// <returns></returns>
 public static JObject GetFreeChampion(string Token)
 {
     return(CallDaiWanAPI.CallRemoteAPI(Token, @"*******Free"));
 }
Beispiel #7
0
 /// <summary>
 /// 获取英雄皮肤(返回图片网络地址)
 /// </summary>
 /// <param name="Token"></param>
 /// <param name="SkinId"></param>
 /// <returns></returns>
 public static JObject GetSkinImg(string Token, string SkinId)
 {
     return(CallDaiWanAPI.CallRemoteAPI(Token, string.Format(@"*******SkinIconStr?id={0}", SkinId)));
 }
Beispiel #8
0
 /// <summary>
 /// 获取装备图标(返回图片网络地址)
 /// </summary>
 /// <param name="Token"></param>
 /// <param name="ItemId"></param>
 /// <returns></returns>
 public static JObject GetItemIcon(string Token, string ItemId)
 {
     return(CallDaiWanAPI.CallRemoteAPI(Token, string.Format(@"*******ItemIconStr?id={0}", ItemId)));
 }
Beispiel #9
0
        //=========================================================================================================
        //                                                                                                       数据字典
        //=========================================================================================================

        /// <summary>
        /// 获取所有大区数据
        /// </summary>
        /// <param name="Token"></param>
        /// <returns></returns>
        public static JObject GetAllAero(string Token)
        {
            return(CallDaiWanAPI.CallRemoteAPI(Token, @"*******AllGameArea"));
        }
Beispiel #10
0
 /// <summary>
 /// 获取战斗标签描述
 /// </summary>
 /// <param name="Token"></param>
 /// <param name="TagId"></param>
 /// <returns></returns>
 public static JObject GetTagName(string Token, string TagId)
 {
     return(CallDaiWanAPI.CallRemoteAPI(Token, string.Format(@"*******TagName?tagid={0}", TagId)));
 }
Beispiel #11
0
 /// <summary>
 /// 获取段位信息
 /// </summary>
 /// <param name="Token"></param>
 /// <param name="Tier"></param>
 /// <param name="Queue"></param>
 /// <returns></returns>
 public static JObject GetTierQueue(string Token, string Tier, string Queue)
 {
     return(CallDaiWanAPI.CallRemoteAPI(Token, string.Format(@"*******TierQueue?tier={0}&queue={1}", Tier, Queue)));
 }
Beispiel #12
0
 /// <summary>
 /// 获取大区名称
 /// </summary>
 /// <param name="Token"></param>
 /// <param name="TypeId"></param>
 /// <returns></returns>
 public static JObject GetAeroGame(string Token, string TypeId)
 {
     return(CallDaiWanAPI.CallRemoteAPI(Token, string.Format(@"*******GameArea?areaid={0}", TypeId)));
 }
Beispiel #13
0
 /// <summary>
 /// 获取比赛类型
 /// </summary>
 /// <param name="Token"></param>
 /// <param name="TypeId"></param>
 /// <returns></returns>
 public static JObject GetGameType(string Token, string TypeId)
 {
     return(CallDaiWanAPI.CallRemoteAPI(Token, string.Format(@"*******GameType?typeid={0}", TypeId)));
 }
Beispiel #14
0
 /// <summary>
 /// 获取英雄头像(返回图片网路地址)
 /// </summary>
 /// <param name="Token"></param>
 /// <param name="ChampionId"></param>
 /// <returns></returns>
 public static JObject GetChampion(string Token, string ChampionId)
 {
     return(CallDaiWanAPI.CallRemoteAPI(Token, string.Format(@"*******ChampionIconStr?id={0}", ChampionId)));
 }
Beispiel #15
0
 /// <summary>
 /// 获取MVP数量
 /// </summary>
 /// <param name="Token"></param>
 /// <param name="AeroId"></param>
 /// <param name="Qquin"></param>
 /// <returns></returns>
 public static JObject GetUserMvp(string Token, string AeroId, string Qquin)
 {
     return(CallDaiWanAPI.CallRemoteAPI(Token, string.Format(@"*******UserMVP?areaid={0}&qquin={1}", AeroId, Qquin)));
 }