User:Glyph

From Kerbal Space Program Wiki
Revision as of 01:40, 12 October 2015 by Glyph (talk | contribs)
Jump to: navigation, search






DocParser.parse started Processing class attributes.

 Class attribute, line = [DefaultMember("Item")]

Processing elements.

 Unrecognised entry, line = "public Vessel();"
 Unprocessed entry type, line = "public Part this[int index] { get; }"
 Unprocessed entry type, line = "public Part this[uint flightID] { get; }"
 Processing attributes
   Processing attribute "[Obsolete("Use Vessel.vesselRanges instead")]"
 Processing property: "public static float loadDistance { get; set; }"
 Processing attributes
   Processing attribute "[Obsolete("Use Vessel.vesselRanges instead")]"
 Processing property: "public static float unloadDistance { get; set; }"
 Processing property: "public ActionGroupList ActionGroups { get; }"
 Processing property: "public VesselAutopilot Autopilot { get; }"
 Processing property: "public Vector3 CurrentCoM { get; }"
 Processing property: "public DiscoveryInfo DiscoveryInfo { get; }"
 Processing attributes
   Processing attribute "[Obsolete("Use Vessel.vesselRanges instead")]"
 Processing property: "public float distanceLandedPackThreshold { get; set; }"
 Processing attributes
   Processing attribute "[Obsolete("Use Vessel.vesselRanges instead")]"
 Processing property: "public float distanceLandedUnpackThreshold { get; set; }"
 Processing attributes
   Processing attribute "[Obsolete("Use Vessel.vesselRanges instead")]"
 Processing property: "public float distancePackThreshold { get; set; }"
 Processing attributes
   Processing attribute "[Obsolete("Use Vessel.vesselRanges instead")]"
 Processing property: "public float distanceUnpackThreshold { get; set; }"
 Processing property: "public bool HoldPhysics { get; }"
 Processing property: "public bool isActiveVessel { get; }"
 Processing property: "public bool isCommandable { get; }"
 Processing property: "public bool IsControllable { get; }"
 Processing property: "public bool isEVA { get; }"
 Processing property: "public bool isPersistent { get; set; }"
 Processing property: "public bool IsRecoverable { get; }"
 Processing property: "public bool LandedOrSplashed { get; }"
 Processing property: "public CelestialBody mainBody { get; }"
 Processing property: "public Orbit orbit { get; }"
 Processing property: "public List<Part> Parts { get; }"
 Processing property: "public bool PatchedConicsAttached { get; }"
 Processing property: "public Transform ReferenceTransform { get; }"
 Processing property: "public VesselValues VesselValues { get; }"
 Processing attributes
   Processing attribute "[ContextMenu("Load")]"
 Processing attributes
   Processing attribute "[ContextMenu("Print All Collisions")]"
 Processing attributes
   Processing attribute "[ContextMenu("Print Ground Contacts")]"
 Processing attributes
   Processing attribute "[ContextMenu("Rename Vessel")]"
 Processing attributes
   Processing attribute "[ContextMenu("Reset Collision Ignores")]"
 Processing attributes
   Processing attribute "[ContextMenu("Unload")]"
 Processing enum "public enum Situations"
 Processing enum "public enum State"
 Processing inner class: "public class ActiveResource"

Vessel Class

Inherits Implements
MonoBehaviour
  • IShipconstruct
  • ITargetable
  • IDiscoverable

Class attributes: [DefaultMember("Item")]

Properties

The following are public properties available in Glyph.

Signature Description
ActionGroupList ActionGroups { get; }
VesselAutopilot Autopilot { get; }
Vector3 CurrentCoM { get; }
DiscoveryInfo DiscoveryInfo { get; }
float distanceLandedPackThreshold { get; set; } Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
float distanceLandedUnpackThreshold { get; set; } Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
float distancePackThreshold { get; set; } Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
float distanceUnpackThreshold { get; set; } Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
bool HoldPhysics { get; }
bool isActiveVessel { get; }
bool isCommandable { get; }
bool IsControllable { get; }
bool isEVA { get; }
bool isPersistent { get; set; }
bool IsRecoverable { get; }
bool LandedOrSplashed { get; }
CelestialBody mainBody { get; }
Orbit orbit { get; }
List<Part> Parts { get; }
bool PatchedConicsAttached { get; }
Transform ReferenceTransform { get; }
VesselValues VesselValues { get; }
static float loadDistance { get; set; } Has attribute [Obsolete("Use Vessel.vesselRanges instead")]
static float unloadDistance { get; set; } Has attribute [Obsolete("Use Vessel.vesselRanges instead")]

Fields

The following is a list of publically-accessible fields in Glyph. This includes protected items, which can be accessed by subclasses.

Signature Description
Vector3d acceleration;
double altitude;
Vector3 angularMomentum;
Vector3 angularVelocity;
double atmDensity;
double atmosphericTemperature;
Vector3d CentrifugalAcc;
Vector3 CoM;
double convectiveCoefficient;
double convectiveMachFlux;
Vector3d CoriolisAcc;
FlightCtrlState ctrlState;
int currentStage;
bool directSunlight;
double distanceToSun;
double dynamicPressurekPa;
KerbalEVA evaController;
double externalTemperature;
ConfigNode flightPlanNode;
double geeForce;
double geeForce_immediate;
Vector3d gForce;
bool handlePhysicsStats;
float heightFromSurface;
float heightFromTerrain;
double horizontalSrfSpeed;
Guid id;
double indicatedAirSpeed;
bool Landed;
string landedAt;
double latitude;
double launchTime;
bool loaded;
Vector3 localCoM;
double longitude;
double mach;
double missionTime;
Vector3 MOI;
double obt_speed;
Vector3d obt_velocity;
FlightInputCallback OnAutopilotUpdate;
FlightInputCallback OnFlyByWire;
Callback OnJustAboutToBeDestroyed;
FlightInputCallback OnPostAutopilotUpdate;
FlightInputCallback OnPreAutopilotUpdate;
OrbitDriver orbitDriver;
OrbitRenderer orbitRenderer;
OrbitTargeter orbitTargeter;
bool packed;
List<Part> parts;
PatchedConicRenderer patchedConicRenderer;
PatchedConicSolver patchedConicSolver;
Vector3d perturbation;
double pqsAltitude;
ProtoVessel protoVessel;
Vector3 rb_velocity;
uint referenceTransformId;
Part rootPart;
Situations situation;
enum Situations { LANDED, SPLASHED, PRELAUNCH, FLYING, SUB_ORBITAL, ORBITING, ESCAPING, DOCKED }
double solarFlux;
double specificAcceleration;
double speed;
double speedOfSound;
bool Splashed;
Vector3d srf_velocity;
Quaternion srfRelRotation;
double srfSpeed;
enum State { INACTIVE, ACTIVE, DEAD }
State state;
double staticPressurekPa;
ITargetable targetObject;
double terrainAltitude;
Vector3 terrainNormal;
Vector3d upAxis;
double verticalSpeed;
string vesselName;
VesselRanges vesselRanges;
Transform vesselTransform;
VesselType vesselType;

Methods

The following are methods included in Glyph.

Signature Description
void AttachPatchedConicsSolver);()
ProtoVessel BackupVessel);()
void CalculatePhysicsStats);()
void ChangeWorldVelocity(Vector3d velOffset)
bool checkLanded);()
bool checkSplashed);()
bool checkVisibility);()
void ClearStaging);()
bool ContainsCollider(Collider c)
void DespawnCrew);()
void DestroyVesselComponents);()
void DetachPatchedConicsSolver);()
void Die);()
void FallBackReferenceTransform);()
void FeedInputFeed);()
VesselType FindDefaultVesselType);()
Vector3 findLocalCenterOfMass);()
Vector3 findLocalCenterOfPressure);()
Vector3 findLocalMOI(Vector3 worldCoM)
Vector3 findLocalMOI);()
List<T> FindPartModulesImplementing<T>);()
Vector3 findWorldCenterOfMass);()
List<Part> GetActiveParts);()
ActiveResource GetActiveResource(PartResourceDefinition def)
List<ActiveResource> GetActiveResources);()
int GetCrewCapacity);()
int GetCrewCount);()
Vector3 GetFwdVector);()
float GetHeightFromSurface);()
float GetHeightFromTerrain);()
string GetName);()
Vector3 GetObtVelocity);()
Orbit GetOrbit);()
OrbitDriver GetOrbitDriver);()
Part GetReferenceTransformPart);()
Vector3 GetSrfVelocity);()
VesselTargetModes GetTargetingMode);()
float GetTotalMass);()
Transform GetTransform);()
Vessel GetVessel);()
List<ProtoCrewMember> GetVesselCrew);()
Vector3d GetWorldPos3D);()
void GoOffRails);()
void GoOnRails);()
bool HasControlSources);()
bool Initialize(bool fromShipAssembly = false)
ClearToSaveStatus IsClearToSave);()
void Load);() Has attribute [ContextMenu("Load")]
void MakeActive);()
void MakeInactive);()
void MurderCrew);()
void OnDestroy);()
void OnLoadFlightState<string,(Dictionary<string, KSPParseable> dataPool)
void OnSaveFlightState<string,(Dictionary<string, KSPParseable> dataPool)
double PQSAltitude);()
void printCollisions);() Has attribute [ContextMenu("Print All Collisions")]
void printGroundContacts);() Has attribute [ContextMenu("Print Ground Contacts")]
void RenameVessel);() Has attribute [ContextMenu("Rename Vessel")]
void ResetCollisionIgnores);() Has attribute [ContextMenu("Reset Collision Ignores")]
void ResumeStaging);()
void ResumeTarget);()
double RevealAltitude);()
float RevealMass);()
string RevealName);()
string RevealSituationString);()
double RevealSpeed);()
string RevealType);()
void SetActiveInternalPart(Part visiblePart)
void SetActiveInternalPart);()
void SetActiveInternalPart<Part>(List<Part> visibleParts)
void SetPosition(Vector3 position)
void SetPosition(Vector3 position, bool usePristineCoords)
void SetReferenceTransform(Part p)
void SetRotation(Quaternion rotation)
void SetWorldVelocity(Vector3d vel)
void SpawnCrew);()
void StartFromBackup(ProtoVessel pv)
void Translate(Vector3 offset)
void Unload);() Has attribute [ContextMenu("Unload")]
static string AutoRename(Vessel v, string baseName)
static string GetLandedAtString(string landedAt)
static string GetMETString(Vessel v)
static string GetSituationString(Vessel v)
static bool IsValidVesselName(string name)