Ejemplo n.º 1
0
        public static String GetScopeForSituationAndBody(String situation, CelestialBody body)
        {
            if (FlightGlobals.ActiveVessel == null)
            {
                return("none");
            }
            String bodyStr = body.GetName();

            return(TestFlightInterface.GetScopeForSituationAndBody(situation, bodyStr));
        }
Ejemplo n.º 2
0
        public static String GetScopeForSituationAndBody(Vessel.Situations situation, String body)
        {
            if (FlightGlobals.ActiveVessel == null)
            {
                return("none");
            }
            String situationStr = situation.ToString();

            return(TestFlightInterface.GetScopeForSituationAndBody(situationStr, body));
        }
Ejemplo n.º 3
0
        public static String GetScopeForSituation(String situation)
        {
            if (FlightGlobals.ActiveVessel == null)
            {
                return("none");
            }

            String body = FlightGlobals.ActiveVessel.mainBody.GetName();

            return(TestFlightInterface.GetScopeForSituationAndBody(situation, body));
        }