public FacilityConstructionEventDto(FacilityConstructionEvent fce) { date = CareerLog.UTToDate(fce.UT).ToString("o"); facility = fce.Facility; newLevel = fce.NewLevel; cost = fce.Cost; state = fce.State; }
public ContractEventDto(ContractEvent ce) { internalName = ce.InternalName; date = CareerLog.UTToDate(ce.UT).ToString("o"); fundsChange = ce.FundsChange; repChange = ce.RepChange; type = ce.Type; }
public LaunchEventDto(LaunchEvent le) { date = CareerLog.UTToDate(le.UT).ToString("o"); vesselName = le.VesselName; vesselUID = le.VesselUID; launchID = le.LaunchID; builtAt = le.BuiltAt; }
public FailureEventDto(FailureEvent fe) { date = CareerLog.UTToDate(fe.UT).ToString("o"); vesselUID = fe.VesselUID; launchID = fe.LaunchID; part = fe.Part; type = fe.Type; }
public TechResearchEventDto(TechResearchEvent tre) { date = CareerLog.UTToDate(tre.UT).ToString("o"); nodeName = tre.NodeName; }