public static String GetScopeForSituationAndBody(String situation, CelestialBody body) { if (FlightGlobals.ActiveVessel == null) { return("none"); } String bodyStr = body.GetName(); return(TestFlightInterface.GetScopeForSituationAndBody(situation, bodyStr)); }
public static String GetScopeForSituationAndBody(Vessel.Situations situation, String body) { if (FlightGlobals.ActiveVessel == null) { return("none"); } String situationStr = situation.ToString(); return(TestFlightInterface.GetScopeForSituationAndBody(situationStr, body)); }
public static String GetScopeForSituation(String situation) { if (FlightGlobals.ActiveVessel == null) { return("none"); } String body = FlightGlobals.ActiveVessel.mainBody.GetName(); return(TestFlightInterface.GetScopeForSituationAndBody(situation, body)); }