/// <summary>
 /// default constructor
 /// </summary>
 public BarnDoorAutomationMod()
 {
     Log.Info($"Initalizing {nameof(BarnDoorAutomationMod)}");
     _config = ConfigurationBase.LoadConfiguration <BarnDoorAutomationConfiguration>();
 }
Exemplo n.º 2
0
 private void GameEvents_GameLoaded(object sender, EventArgs eventArgs)
 {
     _gameLoaded = true;
     _config     = Helper.ReadJsonFile <BarnDoorAutomationConfiguration>("BarnDoorAutomationConfiguration.json");
 }