Base File loading infrastructure checked in

Coordinator
Jan 17, 2013 at 4:24 AM
Edited Jan 17, 2013 at 4:25 AM

Added base classes to make API install aware. Will now begin linking in other file types and building out their class strictures. 

Example usage

 

var kd = new KerbalData(@"C:\games\KSP_win");
var sf = kd.Saves["testing"];

sf.Game.FlightState.FillResources();
sf.Game.Title = "I AM IRON MAN";
sf.Game.FlightState.ClearDebris();

var sat = sf.Game.FlightState.Vessels.Where(v => v.Name.Contains("Beta Geo-Sat")).FirstOrDefault();
sat.Orbit.Change(Body.Bop);

sf.Save();

https://kerbaldata.codeplex.com/SourceControl/changeset/5c55034faf6e