PartFile Members KerbalData - KSP Data Unlocked!

The PartFile type exposes the following members.
Constructors

  NameDescription
Public methodPartFile
Initializes a new instance of the PartFile class.
Back to Top
Methods

  NameDescription
Public methodOnlineAdd
Adds the specified key and value to the dictionary.
(Inherited from OnlineDictionary OnlineString, JToken .)
Public methodOnlineClear (Inherited from OnlineDictionary OnlineString, JToken .)
Public methodClone T 
Clones a new instance of the object and all underlying data
(Inherited from StorableObject.)
Public methodOnlineContainsKey (Inherited from OnlineDictionary OnlineString, JToken .)
Public methodOnlineContainsValue (Inherited from OnlineDictionary OnlineString, JToken .)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetEnumerator (Inherited from OnlineDictionary OnlineString, JToken .)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetObjectData (Inherited from OnlineDictionary OnlineString, JToken .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineOnDeserialization
Implements the OnlineISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from OnlineDictionary OnlineString, JToken .)
Public methodOnlineRemove (Inherited from OnlineDictionary OnlineString, JToken .)
Public methodRevert
Restores the object to the state it was in when it's data was first loaded or last saved.
(Overrides StorableObject Revert .)
Public methodSave
Saves the object and all children to the name specified. If class is loaded from KerbalData using the StorableObjects class then save will use the repo managed by storable objects. Otherwise the local filesystem is used.
(Inherited from StorableObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodOnlineTryGetValue
Gets the value associated with the specified key.
(Inherited from OnlineDictionary OnlineString, JToken .)
Back to Top
Properties

  NameDescription
Public propertyAngularDrag
Gets or sets angular drag
Public propertyAuthor
Gets or sets the author
Public propertyBreakingForce
Gets or sets the breaking force
Public propertyBreakingTorque
Gets or sets the breaking torque
Public propertyCategory
Gets or sets the category
Public propertyComparer
Gets the comparer
(Inherited from StorableObject.)
Public propertyCost
Gets or sets the cost
Public propertyCount
Gets the number of children
(Inherited from StorableObject.)
Public propertyCrashTolerance
Gets or sets the crash tolerance
Public propertyDescription
Gets or sets the description
Public propertyDragModelType
Gets or sets the drag model type
Public propertyExplosionPotential
Gets or sets the explosion potential
Public propertyId
Gets the id/name of the element
(Inherited from StorableObject.)
Public propertyIsDirty
Gets the is dirty flag
(Inherited from StorableObject.)
Public propertyOnlineItem
Gets or sets the value associated with the specified key.
(Inherited from OnlineDictionary OnlineString, JToken .)
Public propertyKeys
Gets the key collection for unmapped children
(Inherited from StorableObject.)
Public propertyManufacturer
Gets or sets the manufacturer
Public propertyMass
Gets or sets the mass
Public propertyMaxDrag
Gets or sets maximum drag
Public propertyMaxTemp
Gets or sets the maximum temp
Public propertyMesh
Gets or sets the mesh file name
Public propertyMinDrag
Gets or set minimum drag
Public propertyModule
Gets or sets the module
Public propertyModules
Gets or sets the module collection
Public propertyName
Gets or sets the name
Public propertyOriginal
Gets the orginal base data
(Inherited from StorableObject.)
Public propertyRescaleFactor
Gets or sets the rescale factor
Public propertyResources
Gets or sets the resource collection
Public propertySubCategory
Gets or sets the sub category
Public propertyTitle
Gets or sets the title
Public propertyUri
Gets the absloute URI of the data
(Inherited from StorableObject.)
Public propertyValues
Gets the values collection for unmapped children
(Inherited from StorableObject.)
Public propertyVesselType
Gets or sets the vessel type
Back to Top
See Also