The ConfigFile type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| ConfigFile |
Initializes a new instance of the KerbalData 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 |
Handles inital setup and population of data properties.
This is some of the "magic" that allows developers creating custom models to easily map
StorableObjects instances with the correct repositories to custom properties without
a ton of wireup code.
(Inherited from StorableObject.) | |
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 | |
|---|---|---|
| AntiAliasing |
Gets or sets anti-aliasing multiplier. - File Property: ANTI_ALIASING
| |
| AutosaveInterval |
Gets or sets autosave interval . - File Property: AUTOSAVE_INTERVAL
| |
| AutosaveShortInterval |
Gets or sets autosave short interval. - File Property: AUTOSAVE_SHORT_INTERVAL
| |
| CallHome |
Gets or sets call home. - File Property: CALL_HOME
| |
| CheckForUpdates |
Gets or sets check for updates flag. - File Property: VERBOSE_DEBUG_LOG
| |
| Comparer | (Inherited from ObservableDictionary TKey, TValue .) | |
| ConicPatchDrawMode |
Gets or sets conic patch draw mode. - File Property: CONIC_PATCH_DRAW_MODE
| |
| ConicPatchLimit |
Gets or sets conic patch limit. - File Property: CONIC_PATCH_LIMIT
| |
| Count | (Inherited from ObservableDictionary TKey, TValue .) | |
| DataManager |
Gets the DataManager instance used by this instance
(Inherited from StorableObject.) | |
| DisplayName |
Gets the instance display name
(Inherited from StorableObject.) | |
| DontSendIp |
Gets or sets DontSendIp flag. - File Property: VERBOSE_DEBUG_LOG
| |
| FramerateLimit |
Gets or sets framerate limit. - File Property: FRAMERATE_LIMIT
| |
| FullScreen |
Gets or sets full screen flag. - File Property: FULLSCREEN
| |
| 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 .) | |
| LightQuality |
Gets or sets light quality. - File Property: LIGHT_QUALITY
| |
| Original |
Gets the original base data
(Inherited from StorableObject.) | |
| QualityPreset |
Gets or sets quality preset. - File Property: QUALITY_PRESET
| |
| ResloutionHeight |
Gets or sets resloution height. - File Property: SCREEN_RESOLUTION_HEIGHT
| |
| ResloutionWidth |
Gets or sets resolution width. - File Property: SCREEN_RESOLUTION_WIDTH
| |
| SettingsVersion |
Gets or sets the settings version. - File Property: SETTINGS_FILE_VERSION
| |
| ShadowsQuality |
Gets or sets shadows quality. - File Property: SHADOWS_QUALITY
| |
| ShowConsoleOnError |
Gets or sets show console on error flag. - File Property: SHOW_CONSOLE_ON_ERROR
| |
| ShowSpaceCenterCrew |
Gets or sets show space center flag. - File Property: SHOW_SPACE_CENTER_CREW
| |
| Terrain |
Gets or sets terrain configuration. - File Property: TERRAIN
| |
| TextureQuality |
Gets or sets texture quality. - File Property: TEXTURE_QUALITY
| |
| UiSize |
Gets or sets UI size. - File Property: UI_SIZE
| |
| Uri |
Gets the absolute URI of the data
(Inherited from StorableObject.) | |
| Values | (Inherited from ObservableDictionary TKey, TValue .) | |
| VerboseDebugLog |
Gets or sets verbose debug log flag. - File Property: VERBOSE_DEBUG_LOG
|
Events
| Name | Description | |
|---|---|---|
| CollectionChanged | (Inherited from ObservableDictionary TKey, TValue .) | |
| PropertyChanged | (Inherited from StorableObject.) |
See Also