//public EthMineRequest_WorkersMonitors m_workerMonitors; private void Awake() { m_workers = new EthMineRequest_Workers(m_addressObserved); m_minerCurrentStats = new EthMineRequest_MinerCurrentStats(m_addressObserved); m_workerStats = new EthMineRequest_WorkersStatistics(m_addressObserved, m_workerName); m_workerHisory = new EthMineRequest_WorkersHistory(m_addressObserved, m_workerName); m_webstats = new EthMineRequest_WebsitePoolStatistics(); m_webServersHistory = new EthMineRequest_WebsiteServersHistory(); m_webNetwork = new EthMineRequest_WebsiteNetworkStatistics(); m_webBlocks = new EthMineRequest_WebsiteBlocksStatistics(); //Don't know why I can't access those information onthey website //m_workerMonitors = new EthMineRequest_WorkersMonitors(m_addressObserved, m_workerName); // AddListenToAndPush(m_workerMonitors); AddListenToAndPush(m_workers); AddListenToAndPush(m_minerCurrentStats); AddListenToAndPush(m_workerStats); AddListenToAndPush(m_workerHisory); AddListenToAndPush(m_webstats); AddListenToAndPush(m_webServersHistory); AddListenToAndPush(m_webNetwork); AddListenToAndPush(m_webBlocks); }
private void Awake() { m_minerInfo = new EthMineRequest_MinerCurrentStats(""); m_minerInfo.AddListener(CheckForChange); InvokeRepeating("Ping", 1, m_pingTimeInSeconds); }