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