コード例 #1
0
 private void HandleSelectPlugin(PluginInformation?plugin)
 {
     if (plugin != null)
     {
         siraLog.Info($"Mod list selected plugin {plugin.Plugin} ({plugin.State})");
     }
     modInfoViewController.SetPlugin(plugin);
     modControlsViewController.SetPlugin(plugin);
 }
コード例 #2
0
        private void HandleSelectPlugin(PluginInformation plugin)
        {
            Logger.log.Info($"Mod list selected plugin {plugin.Plugin} ({plugin.State})");

            infoController.SetPlugin(plugin);
            controlsController.SetPlugin(plugin);
            if (!infoController.Activated)
            {
                PushViewControllerToNavigationController(naviController, infoController);
            }
        }