API:PluginConfigNode

From Kerbal Space Program Wiki
Jump to: navigation, search

KSP.IO Namespace
BinaryReader · BinaryWriter · File · FileInfo · FileStream · IOException · IOTools · IOUtils · MemoryStream · PluginConfigNode · PluginConfiguration · TextReader · TextWriter

PluginConfigNode

See PluginConfiguration for a full description.

A node full of configuration values.

Properties

The following are public properties available in PluginConfigNode.

Signature Description
Object this[string key] { get; set; } Get or set the value of a configuration key

Methods

The following are methods included in PluginConfigNode.

Signature Description
void SetValue(string key, object value) Set the value of a configuration key
PluginConfigNode GetParent() Gets the parent of this node.
T GetValue<T>(string key) Get the value of a configuration key.
T GetValue<T>(string key, T _default) Get the value of a configuration key.