CAttachNode | An AttachNode represents the physical connection between a Part and its parent Part. |
►CAttribute | |
CKSPAction | Apply this attribute to a function to allow it to be called via action groups. |
CKSPAddon | Apply this attribute to a class that derives from MonoBehaviour to have KSP automatically start up your addon at a specified time. |
CKSPAssembly | This attribute and the KSPAssemblyDependency attribute can be used to ensure that plugin assemblies are loaded in the right order. |
CKSPAssemblyDependency | This attribute and the KSPAssembly attribute can be used to ensure that plugin assemblies are loaded in the right order. |
CKSPEvent | Apply this attribute to a function in a PartModule to make it callable by the player via the right click menu of the part, or from other plugin code via Part.SendEvent. |
CKSPField | Apply this attribute to a field in a PartModule or ScenarioModule to make the field get automatically initialized from the cfg file, and optionally persistent. See |
CKSPScenario | Like KSPAddon, but for ScenarioModules. Apply this attribute to your subclass of ScenarioModule and KSP will add it to the game at the right time. |
CAvailablePart | An AvailablePart object contains the summary information about a single type of part which is shown in the editor. |
CBaseAction | A BaseAction object is the basic action object. There is one of these automatically created for each 'KSPAction' field in a partModule |
CCelestialBody | The Sun, the planets, and the moons are all CelestialBodies. |
CConfigNode | A ConfigNode represents a collection of data that can be serialized to or deserialized from a file. A ConfigNode contains a set of values, and optionally one or more ConfigNodes, so they can be used recursively. |
CGameEvents.Contract | Game events related to contract status changes; the contract in question is returned as EventData for most events |
CDiscoverableObjectsUtil | Static methods used by asteroids |
CDiscoveryInfo | Represents the "remote sensing" information available for an IDiscoverable |
CEventData< T > | A type used to generate GameEvents |
CEventData< T, U > | A type used to generate GameEvents |
CEventData< T, U, V > | A type used to generate GameEvents |
CEventReport | A type frequently used as a parameter in GameEvents |
CEventVoid | A type used to generate GameEvents |
►CException | |
CKSP.IO.IOException | A surrogate for System.IO.IOException. |
CGameEvents.ExplosionReaction | Used by onPartExplode |
CKSP.IO.File | |
CKSP.IO.FileInfo | A surrogate for System.IO.FileInfo. |
CRDArchivesController.Filter | |
CFlightCtrlState | A FlightCtrlState is a snapshot of the state of all control inputs to a vessel at a given instant in time. See FlightInputHandler.state and Vessel.OnFlyByWire. |
CFloatCurve | Represents a function of one variable. The function is interpolated from a given set of points, and optionally the tangents at those points can be specified. |
CGameEvents.FromToAction< A, B > | Two objects; of the same type in all stock uses |
CGameEvents | GameEvents are EventData or EventVoid methods called when certain conditions are met |
CGameEvents.HostedFromToAction< A, B > | Two potentially different object types; the From/To object (B) returns two values, generally the old and new |
CGameEvents.HostTargetAction< A, B > | Two objects of the same or different type; used generally in a manner similar to FromToAction |
CIDiscoverable | Methods allowing information for celestial bodies or ships to be hidden at game start |
►CIDisposable | |
CKSP.IO.BinaryReader | Identical to System.IO.BinaryReader, but with added IDisposable methods (for use in using structures), and a factory method instead of constructors. |
CKSP.IO.BinaryWriter | Identical to System.IO.BinaryWriter, but with added IDisposable methods (for use in using structures), and a factory method instead of constructors. |
CKSP.IO.TextReader | Identical to System.IO.TextReader, but with added IDisposable methods (for use in using() statements), and a factory method instead of constructors. |
CKSP.IO.TextWriter | Identical to System.IO.TextWriter, but with added IDisposable methods (for use in using() statements), and a factory method instead of constructors. |
►CIEnumerable | |
CConfigNode.ConfigNodeList | |
CConfigNode.ValueList | |
CInputLockManager | This class lets you lock the player out of certain controls. It's probably what KSP uses internally to lock controls during time warp, or when out of electric charge. |
CKSP.IO.IOUtils | Has some useful little tools and utilities. |
►CIScienceDataContainer | Interface used by ModuleScienceExperiment and ModuleScienceContainer. Used for storing, transfering and transmitting Science Data. |
CModuleScienceExperiment | Part module for initiating and describing science experiments. |
►CIVesselAutoRename | |
CModuleAsteroid | Key module in PART[PotatoRoid] |
►CKerbalFSM | A finite state machine. States are represented by KFSMState objects, and "events" (transitions between states) are represented by KFSMEvent objects. |
CTutorialScenario.TutorialFSM | The TutorialFSM provides a convient interface for implementing the meat of your scenario logic through a finite state machine. The states of the state machine are "pages." |
CKFSMEvent | A KFSMEvent represents a possible transition between two KFSMStates in a KerbalFSM finite state machine. |
►CKFSMState | Represents a state in a KerbalFSM finite state machine. |
CTutorialScenario.TutorialPage | TutorialPages are the states in the TutorialFSM finite state machine. They extend the KFSMState class, which represents a class in a more general finite state machine, to add tutorial-related features like a Callback in which you draw the GUI of the tutorial page |
►CList< BaseAction > | |
CBaseActionList | A BaseActionList is an object to manipulate actions. |
CHighLogic.LogEntry | |
CManeuverNode | Represents a maneuver node. |
CKSP.IO.MemoryStream | Useful for manipulating bytes in memory. |
CProceduralAsteroid.ModValue | |
CProceduralAsteroid.ModWrapper | |
►CMonoBehaviour | |
CApplicationLauncher | The application launcher is the set of buttons that appear in the upper right, including for example the resource tab. You can add your own buttons to this toolbar |
CEditorLogic | This class has information about what is going on in the editor. In particular see SortedShipList. |
CFlightCamera | This class is related to control of the main camera used in the flight scene. Its transform is the parent of the actual Camera objects. |
CFlightGlobals | FlightGlobals contains lists of all CelestialBodies and Vessels in the game. It also provides static utility functions for computing the atmospheric and gravitational properties of CelestialBodies. |
CFlightInputHandler | FlightInputHandler stores some global information about the control of the current active vessel. |
CGamePersistence | Contains some functions you can call to save the game state to a persistence file, or load the game state from a persistence file. |
CHighLogic | This class stores some very high-level information about the current game state. |
CKerbalInstructor | A KerbalInstructor object controls the animated image of a kerbal instructor in a TutorialScenario. KerbalInstructors come with a stock emote animations that you can trigger by calling the appropriate functions. |
CKrakensbane | The physics simulation has problems if vessels move too fast relative to the underlying reference frame used by the simulation, or get too far from the origin of the coordinate system. Krakensbane shifts the reference frame origin and velocity so that the active vessel is always near the origin of, and moving slowly with respect to, the underlying coordinate system used by the physics simulation. |
CMapView | This class stores some global information related to the map view. |
►CPart | Each part on a vessel is represented by a Part object. Plugins can add new functionality to parts by defining new PartModules, which can then be added to Parts. It is also possible to define new subclasses of Part, but this is deprecated in favor of PartModules. |
CAtmosphericEngine | The old, deprecated class that implemented jet engine parts before PartModules. Use an appropriately configured ModuleEngines instead of this class. |
CDecoupler | The old, deprecated class that used to be used to implement decouplers before PartModules. Use ModuleDecouple or ModuleAnchoredDecoupler instead. |
CDecouplerGUI | An old, deprecated class that used to be used to implement decouplers before PartModules. Use ModuleDecouple or ModuleAnchoredDecoupler instead. |
CDockingPort | An unused class; use ModuleDockingNode instead. |
CFuelLine | Stock fuel lines are not yet PartModules, but are implemented through this class. |
CFuelTank | The old, deprecated class that implemented fuel tanks before the resource system. Don't use this class: to allow a part to store a resource add a RESOURCE block to the part.cfg. |
CFuelTankGUI | An unused class. |
►CPartModule | Extending PartModule lets you add new functionality to parts. The main class of many plugins will be a subclass of PartModule. See this forum thread for the official instructions on using PartModule: |
CKerbalEVA | Kerbals on EVA are represented as vessels with a single part. That part contains a KerbalEVA PartModule. |
CModuleAsteroid | Key module in PART[PotatoRoid] |
CModuleEngines | A PartModule that can be configured to behave like many different kinds of engines. All stock propulsion systems except for RCS are implemented through ModuleEngines. |
CModuleScienceExperiment | Part module for initiating and describing science experiments. |
CPartResource | A PartResource object represents the store of a single type of resource within a Part. |
CPartResourceLibrary | The PartResourceLibrary lets you retrieve information about a resource type, given its name or integer id. |
CPAsteroid | Stores information on an asteroid's shape |
CPatchedConicSolver | Each vessel has a PatchedConicSolver, which stores the predicted patched conics trajectory and any maneuver nodes that currently exist. |
CPlanetarium | Probably the most useful function here is Planetarium.GetUniversalTime(). |
CPlanetariumCamera | A class related to the map view camera. |
CProceduralAsteroid | Generates an asteroid shape |
CPSystem | |
CPSystemManager | A class for managing planetary systems. Ask the Kopernicus guys/look at their code for details. |
CRDArchivesController | |
CScaledSpace | A class that handles the transformations between the scaled-down coordinate system used by the map view and the regular coordinate system used by the main flight view and the physics. |
CScreenMessages | A class that lets you post temporary messages to the screen. If you use this class your messages will automatically have the same style as regular in-game messages. |
CSpaceCenter | |
CSun | |
CTimeWarp | The class that handles time warp. |
COrbit | |
CPartResourceDefinition | A PartResourceDefinition contains the basic information defining a type of resource. |
CKSP.IO.PluginConfigNode | A node full of configuration values. |
CKSP.IO.PluginConfiguration | From N3X15: PluginConfiguration was something I threw together a while ago to try and improve settings serialization. The INI files we were using just couldn't cope with newlines and had all sorts of horrible workarounds. Instead of INI files, it writes structured XML files that look like this: |
CModuleEngines.Propellant | A class that represents the resource requirements of an engine. |
CRDArchivesController.ReportData | |
►CScenarioModule | |
CScenarioDiscoverableObjects | Stores information on asteroid spawning |
CTutorialScenario | A TutorialScenario is a ScenarioModule with some added features that are useful for building tutorials or similar kinds of scenarios. A TutorialScenario comes with a builtin in finite state machine for running the scenario and displays "tutorial pages" in a GUI window alongside a picture of a friendly Kerbal instructor. You can take advantage of all these features by making your ScenarioModule a subclass of TutorialScenario |
CScienceData | Class containing information on science reports, stored in the persistent file in modules using IScienceDataContainer. |
CScienceExperiment | Class containing information from the experiment stored in the ScienceDefs file. |
CScienceSubject | Class containing information on a specific science result, data stored in the persistent file under the R&D node. |
CScreenMessage | A class representing temporary messages posted to the screen. Don't use this class, use the static methods in ScreenMessages instead. |
CShipConstruct | |
CConfigNode.Value | |
CVector3d | A Vector3d in 3D space. Vector3d is just like Unity's Vector3 class, except it uses doubles instead of floats, so refer to the Unity documentation on Vector3. Vector3d also adds a few functions. |
CVessel | A Vessel object represents a single vessel. Parts that break off from a vessel become their own Vessels. Vessels that merge via docking become one Vessel. |
CGameEvents.VesselSituation | Game events related to vessel situation changes; mostly related to progress tracking |
CGameEvents.VesselSpawnInfo | Used by onGUILaunchScreenSpawn |
CPlanetarium.ZupVectors | |