CraftFile Members KerbalData - KSP Data Unlocked!

The CraftFile type exposes the following members.
Constructors

  NameDescription
Public methodCraftFile
Initializes a new instance of the CraftFile 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 propertyComparer
Gets the comparer
(Inherited from StorableObject.)
Public propertyCount
Gets the number of children
(Inherited from StorableObject.)
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 propertyOriginal
Gets the orginal base data
(Inherited from StorableObject.)
Public propertyParts
Gets or sets the parts collection
Public propertyShip
Gets or sets the ship name
Public propertyType
Gets or sets the type
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 propertyVersion
Gets or sets the version
Back to Top
See Also