public Notes_VesselLog(Notes_VesselLog copy, Notes_Archive_Container n) { targetLocation = copy.targetLocation; archive_Root = n; vessel = null; archived = true; }
public Notes_Archive_Container(Guid gid, string name, double time, double m, VesselType t) { id = gid; vesselName = name; recoveryTime = time; met = m; vtype = t; container = this; log = new Notes_VesselLog(container); notes = new Notes_TextContainer(container); checkList = new Notes_CheckListContainer(container); contracts = new Notes_ContractContainer(container); data = new Notes_DataContainer(container); crew = new Notes_Archived_Crew_Container(container); }
private void saveLog(ConfigNode node, Notes_VesselLog log) { ConfigNode vesselLog = new ConfigNode("VESSEL_LOG"); vesselLog.AddValue("TARGET", log.TargetLocation.vector2ToString()); node.AddNode(vesselLog); }
private Notes_VesselLog loadLog(ConfigNode node) { Notes_VesselLog l = new Notes_VesselLog(); Vector2d target = node.parse("TARGET", new Vector2d()); l.setTarget(target); return l; }
public void loadVesselLog(Notes_VesselLog l) { log = new Notes_VesselLog(l, this); }
public Notes_VesselLog(Notes_VesselLog copy, Notes_Container n) { targetLocation = copy.targetLocation; root = n; vessel = n.NotesVessel; }