public static bool AutoSaveCurrentGame(CampaignSaveMetaDataArgs campaignMetaData)
        {
            MetaData saveMetaData = MBSaveLoad.GetSaveMetaData(campaignMetaData);

            MBSaveLoad.IncrementAutoSaveIndex();
            string autoSaveName = MBSaveLoad.GetAutoSaveName();

            return(MBSaveLoad.OverwriteSaveFile(saveMetaData, autoSaveName));
        }
        public static bool SaveAsCurrentGame(CampaignSaveMetaDataArgs campaignMetaData, string saveName)
        {
            int num = MBSaveLoad.OverwriteSaveFile(MBSaveLoad.GetSaveMetaData(campaignMetaData), saveName) ? 1 : 0;

            if (num == 0)
            {
                return(num != 0);
            }
            MBSaveLoad.ActiveSaveSlotName = saveName;
            return(num != 0);
        }
        public static bool QuickSaveCurrentGame(CampaignSaveMetaDataArgs campaignMetaData)
        {
            MetaData saveMetaData = MBSaveLoad.GetSaveMetaData(campaignMetaData);

            if (MBSaveLoad.ActiveSaveSlotName == null)
            {
                MBSaveLoad.ActiveSaveSlotName = MBSaveLoad.GetNextAvailableSaveName();
            }
            string activeSaveSlotName = MBSaveLoad.ActiveSaveSlotName;

            return(MBSaveLoad.OverwriteSaveFile(saveMetaData, activeSaveSlotName));
        }