Ejemplo n.º 1
0
        public object Clone()
        {
            SummonerCrawler newSCrawler = new SummonerCrawler(this.summonerName, this.summonerId, this.accountId);

            newSCrawler.gameStatus = this.gameStatus;
            newSCrawler.lastGameId = this.lastGameId;
            newSCrawler.lastUpdate = this.lastUpdate;
            newSCrawler.lastGameCheck = this.lastGameCheck;

            return newSCrawler;
        }
Ejemplo n.º 2
0
 public InGameSummoner(SummonerCrawler sCr, bool gameComp)
 {
     summonerCr = sCr;
     gameCompleted = gameComp;
     timedOut = true;
 }
Ejemplo n.º 3
0
 public InGameSummoner(SummonerCrawler sCr)
 {
     summonerCr = sCr;
     gameCompleted = false;
     timedOut = false;
 }
Ejemplo n.º 4
0
        public void startEndGameStats(SummonerCrawler curSummoner)
        {
            // Clear all endGameLists to start new endGame
            endTotalPlayers = 10;                       // Set to max, until other async call back sets it
            endSummonerStats.Clear();
            endPSummoners.Clear();
            endLifeStats.Clear();
            reportingSummoner = curSummoner;
            startTime = getUnixTimestamp();

            // Async Call for lifetime stats and Recent games
            pvpnet.RPC.RetrievePlayerStatsByAccountIDAsync(curSummoner.accountId, "CURRENT", new FluorineFx.Net.Responder<PlayerLifeTimeStats>(endPlayerLifeStatsResponder));
            pvpnet.RPC.GetRecentGamesAsync(curSummoner.accountId, new FluorineFx.Net.Responder<RecentGames>(endRecentGamesResponder));
        }