The SaveFile type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| SaveFile | Initializes a new instance of the SaveFile class |
Methods
| Name | Description | |
|---|---|---|
| Add | (Inherited from ObservableDictionary TKey, TValue .) | |
| AddEntry | (Inherited from ObservableDictionary TKey, TValue .) | |
| Clear | (Inherited from ObservableDictionary TKey, TValue .) | |
| ClearEntries | (Inherited from ObservableDictionary TKey, TValue .) | |
| Clone T |
Clones a new instance of the object and all underlying data
(Inherited from StorableObject.) | |
| ContainsKey | (Inherited from ObservableDictionary TKey, TValue .) | |
| ContainsValue | (Inherited from ObservableDictionary TKey, TValue .) | |
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
| GetEnumerator | (Inherited from ObservableDictionary TKey, TValue .) | |
Serves as a hash function for a particular type. (Inherited from | ||
| GetIndexAndEntryForKey | (Inherited from ObservableDictionary TKey, TValue .) | |
| GetObjectData | (Inherited from ObservableDictionary TKey, TValue .) | |
Gets the (Inherited from | ||
| Init | (Overrides StorableObject Init .) | |
Creates a shallow copy of the current (Inherited from | ||
| OnCollectionChanged | (Inherited from ObservableDictionary TKey, TValue .) | |
| OnDeserialization | (Inherited from ObservableDictionary TKey, TValue .) | |
| OnPropertyChanged(String) | (Inherited from ObservableDictionary TKey, TValue .) | |
| OnPropertyChanged(String, Object) | (Inherited from StorableObject.) | |
| Remove | (Inherited from ObservableDictionary TKey, TValue .) | |
| RemoveEntry | (Inherited from ObservableDictionary TKey, TValue .) | |
| Revert |
Restores the object to the state it was in when it's data was first loaded or last saved.
(Overrides StorableObject Revert .) | |
| Save |
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 file system is used.
(Inherited from StorableObject.) | |
| SetEntry | (Inherited from ObservableDictionary TKey, TValue .) | |
Returns a string that represents the current object. (Inherited from | ||
| TryGetValue | (Inherited from ObservableDictionary TKey, TValue .) |
Fields
| Name | Description | |
|---|---|---|
| _keyedEntryCollection | (Inherited from ObservableDictionary TKey, TValue .) |
Properties
| Name | Description | |
|---|---|---|
| Comparer | (Inherited from ObservableDictionary TKey, TValue .) | |
| Count | (Inherited from ObservableDictionary TKey, TValue .) | |
| CraftInSph |
Gets or sets the craft in the space plane hanger collection
| |
| CraftInVab |
Gets or sets the craft in VAP collection
| |
| DataManager |
Gets the DataManager instance used by this instance
(Inherited from StorableObject.) | |
| DisplayName |
Gets the instance display name
(Inherited from StorableObject.) | |
| Game |
Gets the KSP Game definition. Contains all de-serialized save data. - File Property: GAME
| |
| Id |
Gets the id/name of the element
(Inherited from StorableObject.) | |
| IsDirty |
Gets the is dirty flag
(Inherited from StorableObject.) | |
| Item | (Inherited from ObservableDictionary TKey, TValue .) | |
| Keys | (Inherited from ObservableDictionary TKey, TValue .) | |
| Original |
Gets the original base data
(Inherited from StorableObject.) | |
| Uri |
Gets the absolute URI of the data
(Inherited from StorableObject.) | |
| Values | (Inherited from ObservableDictionary TKey, TValue .) |
Events
| Name | Description | |
|---|---|---|
| CollectionChanged | (Inherited from ObservableDictionary TKey, TValue .) | |
| PropertyChanged | (Inherited from StorableObject.) |
See Also