Esempio n. 1
0
        public static HipSection[] GetNewArchive(out bool OK, out Platform platform, out Game game)
        {
            NewArchive newArchive = new NewArchive();

            newArchive.ShowDialog();
            platform = newArchive.platform;
            game     = newArchive.game;
            OK       = newArchive.OK;
            return(newArchive.result);
        }
        public static HipFile GetNewArchive(out bool OK, out bool addDefaultAssets)
        {
            NewArchive newArchive = new NewArchive();

            newArchive.ShowDialog();
            OK = newArchive.OK;
            addDefaultAssets = newArchive.checkBoxDefaultAssets.Checked;

            return(newArchive.result);
        }
        public static void GetExistingArchive(Platform previousPlatform, Game previousGame, int previousDate, string previousDateString,
                                              out bool OK, out Section_PACK PACK, out Platform newPlatform, out Game newGame)
        {
            NewArchive newArchive = new NewArchive(previousPlatform, previousGame, previousDate, previousDateString);

            newArchive.ShowDialog();
            OK          = newArchive.OK;
            PACK        = OK ? newArchive.result.PACK : null;
            newPlatform = newArchive.platform;
            newGame     = newArchive.game;
        }
Esempio n. 4
0
        public static (HipFile hipFile, Platform platform, Game game, bool addDefaultAssets) GetNewArchive()
        {
            NewArchive newArchive = new NewArchive();

            newArchive.ShowDialog();

            if (newArchive.result != null)
            {
                return(newArchive.result, newArchive.platform, newArchive.game, newArchive.checkBoxDefaultAssets.Checked);
            }
            return(null, Platform.Unknown, Game.Unknown, false);
        }
Esempio n. 5
0
        public static (Section_PACK PACK, Platform newPlatform, Game newGame) GetExistingArchive(Platform previousPlatform, Game previousGame, int previousDate, string previousDateString)
        {
            NewArchive newArchive = new NewArchive(previousPlatform, previousGame, previousDate, previousDateString);

            newArchive.ShowDialog();

            if (newArchive.OK)
            {
                return(newArchive.result.PACK, newArchive.platform, newArchive.game);
            }
            return(null, 0, 0);
        }
Esempio n. 6
0
        public static (HipFile hipFile, bool addDefaultAssets) GetNewArchive()
        {
            NewArchive newArchive = new NewArchive();

            newArchive.ShowDialog();

            if (newArchive.result != null)
            {
                return(newArchive.result, newArchive.checkBoxDefaultAssets.Checked);
            }
            return(null, false);
        }