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.
More...
|
| FuelTank () |
|
override bool | DrainFuel (float amount) |
| Deprecated. More...
|
|
override bool | FindFuel (Part source, List< Part > fuelSources, uint reqId) |
|
override void | OnDrawStats () |
|
override void | onFlightStateLoad (Dictionary< string, KSPParseable > parsedData) |
|
override void | onFlightStateSave (Dictionary< string, KSPParseable > partDataCollection) |
|
override bool | RequestFuel (Part source, float amount, uint reqId) |
| Deprecated. More...
|
|
| Part () |
|
bool | activate (int currentStage) |
|
void | addChild (Part child) |
|
bool | AddCrewmember (ProtoCrewMember crew) |
|
InternalModel | AddInternalPart (ConfigNode node) |
|
PartModule | AddModule (ConfigNode node) |
|
PartModule | AddModule (string moduleName) |
| Add a PartModule to this part. PartModules that are dynamically added to parts and don't exist in the original part.cfg will not be properly restored from persistence. More...
|
|
void | AddOnMouseDown (Part.OnActionDelegate method) |
|
void | AddOnMouseEnter (Part.OnActionDelegate method) |
|
void | AddOnMouseExit (Part.OnActionDelegate method) |
|
PartResource | AddResource (ConfigNode node) |
|
bool | CheckCollision (Collision c) |
|
bool | checkLanded () |
|
bool | checkSplashed () |
|
void | cleanReferencesFromOtherParts () |
|
void | Couple (Part tgtPart) |
|
void | CreateInternalModel () |
|
void | deactivate () |
|
void | decouple (float breakForce=0f) |
|
void | DespawnAllCrew () |
|
void | Die () |
|
void | disconnect (bool controlledSeparation=false) |
|
void | drawStats () |
|
void | explode () |
| Calling this causes the part to explode. But you guessed that, didn't you? More...
|
|
AttachNode | findAttachNode (string nodeId) |
| Find an AttachNode by its name, as a string. More...
|
|
AttachNode | findAttachNodeByPart (Part connectedPart) |
| Given a child part of this part, find the AttachNode representing the connection between this part and that child. More...
|
|
AttachNode[] | findAttachNodes (string partialNodeId) |
|
T | FindChildPart< T > () |
|
T | FindChildPart< T > (bool recursive) |
|
Part | FindChildPart (string childName) |
|
Part | FindChildPart (string childName, bool recursive) |
|
T[] | FindChildParts< T > () |
|
T[] | FindChildParts< T > (bool recursive) |
|
FXGroup | findFxGroup (string groupID) |
|
Animation[] | FindModelAnimators () |
|
Animation[] | FindModelAnimators (string clipName) |
|
T | FindModelComponent< T > () |
|
T | FindModelComponent< T > (string childName) |
|
T[] | FindModelComponents< T > () |
|
T[] | FindModelComponents< T > (string childName) |
|
Transform | FindModelTransform (string childName) |
|
Transform[] | FindModelTransforms (string childName) |
|
void | FindNonPhysicslessChildren (List< Part > parts) |
|
void | force_activate () |
| Activates the part now, regardless of when it was scheduled to be activated in the staging order. More...
|
|
void | freeze () |
|
void | GetConnectedResources (int resourceID, List< PartResource > resources) |
|
float | GetResourceMass () |
| The total mass of the resources held by the part. The total mass of the part is More...
|
|
Part | getSymmetryCounterPart (int index) |
|
void | HandleCollision (Collision c) |
|
bool | hasIndirectChild (Part tgtPart) |
|
bool | hasIndirectParent (Part tgtPart) |
|
bool | isSymmetryCounterPart (Part cPart) |
|
void | LateUpdate () |
|
PartModule | LoadModule (ConfigNode node, int moduleIndex) |
|
void | onAttach (Part parent, bool first=true) |
|
virtual void | onBackup () |
|
void | OnCollisionEnter (Collision c) |
|
void | OnCollisionExit (Collision c) |
|
void | OnCollisionStay (Collision c) |
|
void | OnCopy (Part original, bool asSymCounterpart) |
|
void | OnDelete () |
|
void | onDetach (bool first=true) |
|
void | OnLiftOff () |
|
void | OnLoad () |
|
void | OnSplashDown () |
|
void | OnTouchDown () |
|
void | Pack () |
|
void | propagateControlUpdate (FlightCtrlState st) |
|
void | removeChild (Part child) |
|
void | RemoveCrewmember (ProtoCrewMember crew) |
|
void | RemoveModule (PartModule module) |
|
void | RemoveOnMouseDown (Part.OnActionDelegate method) |
|
void | RemoveOnMouseEnter (Part.OnActionDelegate method) |
|
void | RemoveOnMouseExit (Part.OnActionDelegate method) |
|
virtual bool | RequestRCS (float amount, int earliestStage) |
| Deprecated. More...
|
|
double | RequestResource (int resourceID, double demand) |
|
float | RequestResource (int resourceID, float demand) |
|
double | RequestResource (string resourceName, double demand) |
|
float | RequestResource (string resourceName, float demand) |
|
void | ResetCollisionIgnores () |
|
IEnumerator | ResetJoints () |
|
void | ResumeVelocity () |
|
void | ScheduleSetCollisionIgnores () |
|
void | SendEvent (string eventName) |
|
void | SendEvent (string eventName, BaseEventData data) |
|
void | SendEvent (string eventName, BaseEventData data, int maxDepth) |
|
void | SetCollisionIgnores () |
|
void | SetDetectCollisions (bool setState) |
|
void | SetHierarchyRoot (Part root) |
|
void | SetHighlight (bool active) |
|
void | SetHighlightColor () |
|
void | SetHighlightColor (Color color) |
|
void | SetHighlightDefault () |
|
void | SetHighlightType (Part.HighlightType type) |
|
void | SetMirror (Vector3 mirrorVector) |
|
void | setOpacity (float opacity) |
|
void | setParent (Part p=null) |
|
void | SetResource (ConfigNode node) |
|
void | SpawnCrew () |
|
double | TransferResource (int resourceID, double amount) |
|
void | Undock (DockedVesselInfo newVesselInfo) |
|
void | unfreeze () |
|
void | Unpack () |
|
void | UpdateOrgPosAndRot (Part newRoot) |
|
delegate void | OnActionDelegate (Part p) |
|
|
bool | allowFlow |
|
float | drainRate |
|
float | dryMass |
|
float | emptyExplosionPotential |
|
float | fuel |
|
float | fullExplosionPotential |
|
bool | ActivatesEvenIfDisconnected |
| Whether this part will actually activate if it schedule to be activated in the same stage as it is decoupled from the rocket. In particular, sepratrons must have ActivatesEvenIfDisconnected set to true if they are to function properly. More...
|
|
Transform | airlock |
|
float | angularDrag |
|
Joint | attachJoint |
|
AttachNodeMethod | attachMethod |
|
AttachModes | attachMode |
| Whether this part is attached to its parent via a stack AttachNode or a surface AttachNode. More...
|
|
List< AttachNode > | attachNodes |
| An AttachNode represents the link between two attached parts. attachNodes is a list of possible nodes to which other parts can be attached to this part. You can find the parts that actually are attached using AttachNode.attachedPart. More...
|
|
AttachRules | attachRules |
|
Quaternion | attRotation |
|
float | breakingForce |
|
float | breakingTorque |
|
float | buoyancy |
|
Vector3 | CenterOfBuoyancy |
|
List< Part > | children |
| The parts that are children of this part in the part tree (parts that were attached to this part in the editor after this part was already part of the vessel). More...
|
|
int | childStageOffset |
|
Collider | collider |
|
CollisionEnhancer | collisionEnhancer |
|
Vector3 | CoMOffset |
|
float | crashTolerance |
|
int | CrewCapacity |
| How many crew members this part can fit. More...
|
|
List< Collider > | currentCollisions |
|
string | customPartData |
|
int | defaultInverseStage |
|
Part.DragModel | dragModel |
| Unused? More...
|
|
string | dragModelType |
| Unused? More...
|
|
Vector3 | dragReferenceVector |
|
double | dynamicPressureAtm |
|
Part | editorCollision |
|
List< Part > | editorLinks |
|
float | explosionPotential |
|
uint | flightID |
| A unique identifider for this part. Note that despite the name, each part on the same vessel will still have a different value in this field. This value is persistent and not affected by game load or docking/undocking or similar. This is the 'uid' value at the PART level of the persistent.sfs file. More...
|
|
FlightIntegrator | flightIntegrator |
|
bool | frozen |
|
bool | fuelCrossFeed |
| Whether this part allows fuel crossfeed. More...
|
|
List< Part > | fuelLookupTargets |
| In the flight scene, fuelLookupTargets is the list of fuel lines through which this part can draw fuel. Also if this part is a docking node docked to a another docking node through which it can draw fuel, then the attached docking node will also be in fuelLookupTargets. More...
|
|
List< FXGroup > | fxGroups |
|
bool | GroundContact |
|
bool | hasHeiarchyModel |
|
Color | highlightColor |
|
bool | highlightRecurse |
|
Part.HighlightType | highlightType |
|
string | initialVesselName |
|
int | inStageIndex |
|
InternalModel | internalModel |
|
string | InternalModelName |
|
int | inverseStage |
| The stage in which this part will activate, as shown in the staging display. (Possibly called inverseStage because the stages in KSP count down instead of up). More...
|
|
bool | isClone |
|
bool | isControlSource |
|
bool | isMirrored |
|
bool | isPersistent |
|
uint | lastFuelRequestId |
|
int | manualStageOffset |
|
float | mass |
| The DRY mass of this part, not including the mass of any resources it contains More...
|
|
float | maximum_drag |
| The drag coefficient of this part is equal to (total mass) * (maximum_drag) More...
|
|
float | maxTemp |
| The temperature at which this part will explode. More...
|
|
float | minimum_drag |
| Unused. More...
|
|
Vector3 | mirrorAxis |
|
Vector3 | mirrorRefAxis |
|
Vector3 | mirrorVector |
|
uint | missionID |
| A unique identifier assigned to the part when the vessel it is a part of is created. All parts on the vessel get the same missionID and it does not change. Splitting a vessel with a decoupler will result with two vessels whose parts have the same missionID. When two vessels spawned seperately dock, each part keeps its original missionID, undocking does not change this field either. More...
|
|
string | NoCrossFeedNodeKey |
| Specifies the name of a node through which this part will NOT draw resources. See the part.cfg of the stock tricoupler for an example of using this to prevent fuel from flowing backwards. More...
|
|
Callback | OnEditorAttach |
| Add a function to this callback and it will be called when your part is attached to another part in the editor. More...
|
|
Callback | OnEditorDestroy |
| Add a function to this callback and it will be called when your part is deleted in the editor. More...
|
|
Callback | OnEditorDetach |
| Add a function to this callback and it will be called when your part is detached, or is part of a set of parts that are detached, in the editor. More...
|
|
Callback | OnJustAboutToBeDestroyed |
| Add a function to this callback and it will be called when your part is about to be destroyed during flight. More...
|
|
Vector3 | orgPos |
|
Quaternion | orgRot |
|
int | originalStage |
|
bool | packed |
|
Part | parent |
| The parent of this part in the part tree: the part to which this part was attached in the editor. More...
|
|
PartBuoyancy | partBuoyancy |
|
AvailablePart | partInfo |
| Some of the part info that is displayed about this part in the editor. More...
|
|
string | partName |
|
Part.PhysicalSignificance | physicalSignificance |
| If physicalSignificance == Part.PhysicalSignificance.NONE, then this part doesn't actually have any physics. In particular, it has no mass, regardless of what its "mass" field is set to, and no drag. More...
|
|
int | PhysicsSignificance |
| Unused? More...
|
|
Part | potentialParent |
|
List< ProtoCrewMember > | protoModuleCrew |
|
ProtoPartSnapshot | protoPartSnapshot |
|
float | rescaleFactor |
|
PartStates | ResumeState |
|
float | scaleFactor |
|
AttachNode | srfAttachNode |
| IF this part is surface-attached to its parent, srfAttachNode is the attach node describing this connection. More...
|
|
VStackIcon | stackIcon |
| The sicon shown for this part in the staging display. More...
|
|
StackIconGrouping | stackIconGrouping |
|
int | stackSymmetry |
|
bool | stageAfter |
|
bool | stageBefore |
|
int | stageOffset |
|
string | stagingIcon |
|
bool | started |
|
double | staticPressureAtm |
|
Vector3 | surfaceAreas |
|
List< Part > | symmetryCounterparts |
|
int | symmetryMode |
|
float | temperature |
| The temperature of this part, in some arbitrary units. More...
|
|
PQS_PartCollider | terrainCollider |
|
AttachNode | topNode |
|
uint | uid |
| The purpose of uid is unknown. It changes everytime a vessel is swithched to, even within the same flight scene. Swith to a nearby vessel and back with [ and ] and the uid of the parts on a vessel will change. This value does not save to persistent.sfs, the uid value at the PART level is the part.flightID value instead. More...
|
|
Vector3 | vel |
|
Vessel | vessel |
| The vessel to which this part belongs. Beware that vessel == null in the editor. More...
|
|
VesselType | vesselType |
|
bool | WaterContact |
|
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.