private void DefaultInitializer() { Name = "Start"; Version = "1.0"; Build = " git 2021-01-11 02:11"; Time = new Time(); Mission = null; Turn = null; Mods = new List <string>(); Mods.Add("xcom1 ver: 1.0"); Difficulty = 0; End = 0; MonthsPassed = 0; GraphRegionToggles = ""; GraphCountryToggles = ""; GraphFinanceToggles = ""; Rng = Helper.LongRandom(); Funds = new List <int>(); Funds.Add(4132000); Maintenance = new List <int>(); Maintenance.Add(0); ResearchScores = new List <int>(); ResearchScores.Add(0); Incomes = new List <int>(); Incomes.Add(6001000); Expenditures = new List <int>(); Expenditures.Add(1869000); Warned = false; GlobeLon = 4.4710698541533835; GlobeLat = -0.78844019487154438; GlobeZoom = 0; Ids = new Dictionary <string, int>(); Ids.Add("ALIEN_MISSIONS", 3); Ids.Add("STR_INTERCEPTOR", 3); Ids.Add("STR_SKYRANGER", 2); Ids.Add("STR_SOLDIER", 9); Countries = defaultCountries(); Regions = DefaultRegions(); Bases = new List <Base>(); AlienMissions = StartingAlienMissions(); MissionSites = null; AlienStrategy = new AlienStrategy(); DeadSoldiers = null; MissionStatistics = null; Discovered = null; PoppedResearch = null; Ufos = null; BattleGame = null; }
public Save(string name, string version, string build, Time time, string?mission, int?turn, List <string> mods, int difficulty, int end, int monthsPassed, string graphRegionToggles, string graphCountryToggles, string graphFinanceToggles, ulong rng, List <int> funds, List <int> maintenance, List <int> researchScores, List <int> incomes, List <int> expenditures, bool warned, double globeLon, double globeLat, int globeZoom, Dictionary <string, int> ids, List <Country> countries, List <Region> regions, List <Base> bases, List <AlienMission> alienMissions, List <MissionSite>?missionSites, AlienStrategy alienStrategy, List <Soldier>?deadSoldiers, List <MissionStatistics>?missionStatistics, List <string>?discovered, List <string>?poppedResearch, List <Ufo>?ufos, BattleGame?battleGame) { Name = name; Version = version; Build = build; Time = time; Mission = mission; Turn = turn; Mods = mods; Difficulty = difficulty; End = end; MonthsPassed = monthsPassed; GraphRegionToggles = graphRegionToggles; GraphCountryToggles = graphCountryToggles; GraphFinanceToggles = graphFinanceToggles; Rng = rng; Funds = funds; Maintenance = maintenance; ResearchScores = researchScores; Incomes = incomes; Expenditures = expenditures; Warned = warned; GlobeLon = globeLon; GlobeLat = globeLat; GlobeZoom = globeZoom; Ids = ids; Countries = countries; Regions = regions; Bases = bases; AlienMissions = alienMissions; MissionSites = missionSites; AlienStrategy = alienStrategy; DeadSoldiers = deadSoldiers; MissionStatistics = missionStatistics; Discovered = discovered; PoppedResearch = poppedResearch; Ufos = ufos; BattleGame = battleGame; }