コード例 #1
0
        public PluginDefault()
        {
            isRefreshEnabled = false;

            ImportMethod main = new ImportMethod("Local Disk", "Import game executables from local disk.", ImportGames, new SymbolIcon(Symbol.NewFolder));

            RegisterImportMethod(main);

            LaunchConfigType mainType = new LaunchConfigType("Local App");

            RegisterLaunchConfigType("", mainType);
        }
コード例 #2
0
ファイル: Main.cs プロジェクト: solwllms/CI536
        public PluginDLL()
        {
            instance = this;

            Image img = new Image();

            img.Source = GetSourceForOnRender("plugin.icon.png");
            ImportMethod main = new ImportMethod("Steam", "Import games from your Steam® library.", ImportGames, img);

            RegisterImportMethod(main);

            LaunchConfigType steamLaunch = new LaunchConfigType("Launch via Steam®");

            steamLaunch.canEditLaunchCommand = false;
            RegisterLaunchConfigType("steam", steamLaunch);
        }