示例#1
0
 public FacilityConstructionEventDto(FacilityConstructionEvent fce)
 {
     date     = CareerLog.UTToDate(fce.UT).ToString("o");
     facility = fce.Facility;
     newLevel = fce.NewLevel;
     cost     = fce.Cost;
     state    = fce.State;
 }
示例#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;
 }
示例#3
0
 public LaunchEventDto(LaunchEvent le)
 {
     date       = CareerLog.UTToDate(le.UT).ToString("o");
     vesselName = le.VesselName;
     vesselUID  = le.VesselUID;
     launchID   = le.LaunchID;
     builtAt    = le.BuiltAt;
 }
示例#4
0
 public FailureEventDto(FailureEvent fe)
 {
     date      = CareerLog.UTToDate(fe.UT).ToString("o");
     vesselUID = fe.VesselUID;
     launchID  = fe.LaunchID;
     part      = fe.Part;
     type      = fe.Type;
 }
示例#5
0
 public TechResearchEventDto(TechResearchEvent tre)
 {
     date     = CareerLog.UTToDate(tre.UT).ToString("o");
     nodeName = tre.NodeName;
 }