kOS.Suffixed.WaypointValue.ToVerboseString C# (CSharp) Method

ToVerboseString() public method

public ToVerboseString ( ) : kOS.Safe.Encapsulation.StringValue
return kOS.Safe.Encapsulation.StringValue
        public StringValue ToVerboseString()
        {
            // Remember to change this if you alter the suffix names:
            return string.Format("A Waypoint consisting of\n" +
                                 "  name= {0}\n" +
                                 "  body= {1}\n" +
                                 "  geoposition= {2}\n" +
                                 "  agl= {3}\n" +
                                 "  altitude= {4}\n" +
                                 "  nearsurface= {5}\n" +
                                 "  position= {6}\n" +
                                 "  index= {7}\n" +
                                 "  clustered= {8}\n",
                                 CookedName(),
                                 WrappedWaypoint.celestialName,
                                 BuildGeoCoordinates(),
                                 WrappedWaypoint.altitude, // A location inside the contract range's altitude range - and NOT the edge of it.
                                 BuildSeaLevelAltitude(),
                                 WrappedWaypoint.isOnSurface,
                                 GetPosition(),
                                 WrappedWaypoint.index,
                                 WrappedWaypoint.isClustered);
        }