public void StartArrival(RoutineArrivalMission mission, Vessel targetVessel) { _mission = mission; _targetVessel = targetVessel; _targetPart = RmmUtil.GetVesselPart(targetVessel, mission.flightIdArrivalDockPart); CompleteArrival = true; _nextLogicTime = Planetarium.GetUniversalTime(); _arrivalStage = 0; }
public void StartDeparture(RoutineDepartureMission mission, Vessel vessel) { _mission = mission; _vessel = vessel; _part = RmmUtil.GetVesselPart(vessel, mission.flightIdDepartureDockPart); _departurePart = RmmUtil.GetDockedPart(FlightGlobals.ActiveVessel, _part); CompleteDeparture = true; _nextLogicTime = Planetarium.GetUniversalTime(); _departureStage = 0; }