Пример #1
0
 // The majority of these functions are additive
 // so that you can easily change the amount of
 // seconds in between sim stats updates
 internal void CheckStatSanity()
 {
     if (m_rootAgents < 0 || m_childAgents < 0)
     {
         handlerStatsIncorrect = OnStatsIncorrect;
         if (handlerStatsIncorrect != null)
         {
             handlerStatsIncorrect();
         }
     }
     if (m_rootAgents == 0 && m_childAgents == 0)
     {
         m_unAckedBytes = 0;
     }
 }
Пример #2
0
 internal void CheckStatSanity()
 {
     if (m_rootAgents < 0 || m_childAgents < 0)
     {
         handlerStatsIncorrect = OnStatsIncorrect;
         if (handlerStatsIncorrect != null)
         {
             handlerStatsIncorrect();
         }
     }
     if (m_rootAgents == 0 && m_childAgents == 0)
     {
         m_unAckedBytes = 0;
     }
 }