Exemple #1
0
        public String GetShareableMatchHistoryURL(UInt64 matchId)
        {
            String url = null;

            if (!MatchHistory.GetMatchDetailsUrlTemplate(out url))
            {
                return(url);
            }

            RiotClient.RegionLocale locale;
            if (!RiotClient.GetRegionLocale(out locale))
            {
                return(url);
            }

            Login.Session session;
            if (!Login.GetSession(out session))
            {
                return(url);
            }

            return(String.Format(url, matchId, session.accountId, locale.webLanguage));
        }