Example #1
0
 public void CreateData()
 {
     Character   = new CharacterData(ref Settings);
     Corporation = new CorporationData(ref Settings);
     Alliance    = new AllianceData(ref Settings);
     //Market = new MarketData(ref Settings);
     //Public = new PublicData(ref Settings);
     //Universe = new UniverseData(ref Settings);
 }
Example #2
0
        protected override bool ReadInData()
        {
            using (StreamReader myReader = new StreamReader(SaveFile))
            {
                AllianceData temp = Settings.MainSettings.serializer.Deserialize <AllianceData>(new JsonTextReader(myReader));
                Console.Write($"Loading data from {Path.GetFileName(SaveFile)}");



                Console.Write(" - successful");
                Console.WriteLine();
                return(true);
            }
        }