Example #1
0
 public void MapPostTick()
 {
     try
     {
         wildAnimalSpawner.WildAnimalSpawnerTick();
     }
     catch (Exception ex)
     {
         Log.Error(ex.ToString());
     }
     try
     {
         wildPlantSpawner.WildPlantSpawnerTick();
     }
     catch (Exception ex2)
     {
         Log.Error(ex2.ToString());
     }
     try
     {
         powerNetManager.PowerNetsTick();
     }
     catch (Exception ex3)
     {
         Log.Error(ex3.ToString());
     }
     try
     {
         steadyEnvironmentEffects.SteadyEnvironmentEffectsTick();
     }
     catch (Exception ex4)
     {
         Log.Error(ex4.ToString());
     }
     try
     {
         lordManager.LordManagerTick();
     }
     catch (Exception ex5)
     {
         Log.Error(ex5.ToString());
     }
     try
     {
         passingShipManager.PassingShipManagerTick();
     }
     catch (Exception ex6)
     {
         Log.Error(ex6.ToString());
     }
     try
     {
         debugDrawer.DebugDrawerTick();
     }
     catch (Exception ex7)
     {
         Log.Error(ex7.ToString());
     }
     try
     {
         lordsStarter.VoluntarilyJoinableLordsStarterTick();
     }
     catch (Exception ex8)
     {
         Log.Error(ex8.ToString());
     }
     try
     {
         gameConditionManager.GameConditionManagerTick();
     }
     catch (Exception ex9)
     {
         Log.Error(ex9.ToString());
     }
     try
     {
         weatherManager.WeatherManagerTick();
     }
     catch (Exception ex10)
     {
         Log.Error(ex10.ToString());
     }
     try
     {
         resourceCounter.ResourceCounterTick();
     }
     catch (Exception ex11)
     {
         Log.Error(ex11.ToString());
     }
     try
     {
         weatherDecider.WeatherDeciderTick();
     }
     catch (Exception ex12)
     {
         Log.Error(ex12.ToString());
     }
     try
     {
         fireWatcher.FireWatcherTick();
     }
     catch (Exception ex13)
     {
         Log.Error(ex13.ToString());
     }
     MapComponentUtility.MapComponentTick(this);
 }
Example #2
0
 public void MapPostTick()
 {
     Profiler.BeginSample("WildAnimalSpawnerTick()");
     try
     {
         this.wildAnimalSpawner.WildAnimalSpawnerTick();
     }
     catch (Exception ex)
     {
         Log.Error(ex.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("WildPlantSpawnerTick()");
     try
     {
         this.wildPlantSpawner.WildPlantSpawnerTick();
     }
     catch (Exception ex2)
     {
         Log.Error(ex2.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("PowerNetManager.PowerNetsTick()");
     try
     {
         this.powerNetManager.PowerNetsTick();
     }
     catch (Exception ex3)
     {
         Log.Error(ex3.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("SteadyEnvironmentEffects.SteadyEnvironmentEffectsTick()");
     try
     {
         this.steadyEnvironmentEffects.SteadyEnvironmentEffectsTick();
     }
     catch (Exception ex4)
     {
         Log.Error(ex4.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("LordManagerTick()");
     try
     {
         this.lordManager.LordManagerTick();
     }
     catch (Exception ex5)
     {
         Log.Error(ex5.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("PassingShipManagerTick()");
     try
     {
         this.passingShipManager.PassingShipManagerTick();
     }
     catch (Exception ex6)
     {
         Log.Error(ex6.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("DebugDrawer.DebugDrawerTick()");
     try
     {
         this.debugDrawer.DebugDrawerTick();
     }
     catch (Exception ex7)
     {
         Log.Error(ex7.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("VoluntarilyJoinableLordsStarterTick()");
     try
     {
         this.lordsStarter.VoluntarilyJoinableLordsStarterTick();
     }
     catch (Exception ex8)
     {
         Log.Error(ex8.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("GameConditionManager.GameConditionManagerTick()");
     try
     {
         this.gameConditionManager.GameConditionManagerTick();
     }
     catch (Exception ex9)
     {
         Log.Error(ex9.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("WeatherManager.WeatherManagerTick()");
     try
     {
         this.weatherManager.WeatherManagerTick();
     }
     catch (Exception ex10)
     {
         Log.Error(ex10.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("ResourceCounter.ResourceCounterTick()");
     try
     {
         this.resourceCounter.ResourceCounterTick();
     }
     catch (Exception ex11)
     {
         Log.Error(ex11.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("WeatherDecided.WeatherDeciderTick()");
     try
     {
         this.weatherDecider.WeatherDeciderTick();
     }
     catch (Exception ex12)
     {
         Log.Error(ex12.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("FireWatcher.FireWatcherTick()");
     try
     {
         this.fireWatcher.FireWatcherTick();
     }
     catch (Exception ex13)
     {
         Log.Error(ex13.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("DamageWatcher.DamageWatcherTick()");
     try
     {
         this.damageWatcher.DamageWatcherTick();
     }
     catch (Exception ex14)
     {
         Log.Error(ex14.ToString(), false);
     }
     Profiler.EndSample();
     Profiler.BeginSample("MapComponentTick()");
     MapComponentUtility.MapComponentTick(this);
     Profiler.EndSample();
 }
Example #3
0
 public void MapPostTick()
 {
     try
     {
         this.wildSpawner.WildSpawnerTick();
     }
     catch (Exception ex)
     {
         Log.Error(ex.ToString());
     }
     try
     {
         this.powerNetManager.PowerNetsTick();
     }
     catch (Exception ex2)
     {
         Log.Error(ex2.ToString());
     }
     try
     {
         this.steadyAtmosphereEffects.SteadyAtmosphereEffectsTick();
     }
     catch (Exception ex3)
     {
         Log.Error(ex3.ToString());
     }
     try
     {
         this.lordManager.LordManagerTick();
     }
     catch (Exception ex4)
     {
         Log.Error(ex4.ToString());
     }
     try
     {
         this.passingShipManager.PassingShipManagerTick();
     }
     catch (Exception ex5)
     {
         Log.Error(ex5.ToString());
     }
     try
     {
         this.debugDrawer.DebugDrawerTick();
     }
     catch (Exception ex6)
     {
         Log.Error(ex6.ToString());
     }
     try
     {
         this.lordsStarter.VoluntarilyJoinableLordsStarterTick();
     }
     catch (Exception ex7)
     {
         Log.Error(ex7.ToString());
     }
     try
     {
         this.gameConditionManager.GameConditionManagerTick();
     }
     catch (Exception ex8)
     {
         Log.Error(ex8.ToString());
     }
     try
     {
         this.weatherManager.WeatherManagerTick();
     }
     catch (Exception ex9)
     {
         Log.Error(ex9.ToString());
     }
     try
     {
         this.resourceCounter.ResourceCounterTick();
     }
     catch (Exception ex10)
     {
         Log.Error(ex10.ToString());
     }
     try
     {
         this.weatherDecider.WeatherDeciderTick();
     }
     catch (Exception ex11)
     {
         Log.Error(ex11.ToString());
     }
     try
     {
         this.fireWatcher.FireWatcherTick();
     }
     catch (Exception ex12)
     {
         Log.Error(ex12.ToString());
     }
     try
     {
         this.damageWatcher.DamageWatcherTick();
     }
     catch (Exception ex13)
     {
         Log.Error(ex13.ToString());
     }
     MapComponentUtility.MapComponentTick(this);
 }