public void Init(IPALogger logger, Conf conf) { Instance = this; Log = logger; Config = conf.Generated <Config>(); Log.Info("Lighting+ initialized."); }
public void Init(IPALogger logger, IPA.Config.Config conf) { Instance = this; Log = logger; PluginConfig.Instance = conf.Generated <PluginConfig>(); BS_Utils.Utilities.BSEvents.lateMenuSceneLoadedFresh += BSEvents_lateMenuSceneLoadedFresh; }
public void Init(IPALogger logger, IPAConfig conf) { Instance = this; Log = logger; Config.Instance = conf.Generated <Config>(); Log.Info($"Beat-360fyer-Plugin initialized."); }
public void Init(IPALogger logger, Config conf) { Logger.log = logger; logger.Debug("Loading HttpText Plugin"); BSEvents.lateMenuSceneLoadedFresh += OnMenuSceneLoadedFresh; BSEvents.gameSceneLoaded += OnGameSceneActive; config = conf.Generated <PluginConfig>(); }
public void Init(IPALogger logger, IPA.Config.Config cfgProvider, PluginMetadata pluginMetadata) { instance = this; Logger.log = logger; Sprite coverImage = SongCore.Utilities.Utils.LoadSpriteFromResources("RandomSongPlayer.Assets.new-rst-logo.png"); randomSongsFolder = Collections.AddSeperateSongFolder("Random Songs", Environment.CurrentDirectory + "/" + Setup.RandomSongsFolder, FolderLevelPack.NewPack, coverImage); config = cfgProvider.Generated <PluginConfig>(); }
public void InitWithConfig(IPA.Config.Config conf) { Configuration.PluginConfig.Instance = conf.Generated <Configuration.PluginConfig>(); Log.Debug("Config loaded"); }
public Plugin(IPALogger logger, IPA.Config.Config config) { Instance = this; log = logger; PluginConfig.Instance = config.Generated <PluginConfig>(); }
public void InitWithConfig(IPA.Config.Config conf) { UI.Views.PluginConfig.Instance = conf.Generated <UI.Views.PluginConfig>(); Logger.log.Debug("Config loaded"); }
public void Init(IPALogger logger, IPA.Config.Config config, PluginMetadata metadata) { Instance = this; MPIConfig.Init(config); Logger.log = logger; }