Пример #1
0
 /// <summary>
 ///   Constructor, set the MonitorModule ref up
 /// </summary>
 /// <param name = "module"></param>
 public MonitorRegistry(MonitorModule module)
 {
     m_module = module;
     for (int i = 0; i < sb.Length; i++)
     {
         sb[i] = new SimStatsPacket.StatBlock();
     }
 }
Пример #2
0
            /// <summary>
            ///     Constructor, set the MonitorModule ref up
            /// </summary>
            /// <param name="module"></param>
            public MonitorRegistry(MonitorModule module)
            {
                m_module = module;
                for (int i = 0; i < sb.Length; i++)
                {
                    sb[i] = new SimStatsPacket.StatBlock();
                }

                //As we arn't a scene, we add all of the monitors that do not need the scene and run for the entire instance
                AddDefaultMonitors();
            }
Пример #3
0
 /// <summary>
 ///   Constructor, set the MonitorModule ref up
 /// </summary>
 /// <param name = "module"></param>
 public MonitorRegistry(MonitorModule module)
 {
     m_module = module;
     for (int i = 0; i < sb.Length; i++)
     {
         sb[i] = new SimStatsPacket.StatBlock();
     }
 }