Example #1
0
        //const string playerListPath = "http://debian3800/otto/nhl/jacked/playerlist.xml";


        public __NHLJacked(string _homeTeam, string _awayTeam, NHLStats _nhlStats)
        {
            homeTeamName = _homeTeam.ToLower();
            awayTeamName = _awayTeam.ToLower();
            stats = new JackedStatsSet();
            thread = new Thread(new ParameterizedThreadStart(LoopThread));
            gameId = null;
            monitorStats = true;
            mutex = new Object();
            nhlStats = _nhlStats;
            arenaName = null;

            thread.Start(this);
            
        }
Example #2
0
        //const string playerListPath = "http://debian3800/otto/nhl/jacked/playerlist.xml";

        public NHLGameStats(NHLStats _nhlStats, int _gameId, string _homeTeamName, string _awayTeamName, bool _playoffs)
        {
            stats = new JackedStatsSet();
            thread = new Thread(new ParameterizedThreadStart(LoopThread));
            gameId = _gameId;
            monitorStats = true;
            mutex = new Object();
            nhlStats = _nhlStats;
            homeTeamName = _homeTeamName;
            awayTeamName = _awayTeamName;
            playByPlay = new XmlDocument();
            playoffs = _playoffs;
            lastGoalEvent = null;

            thread.Start(this);            
        }