A node full of configuration values. More...
Public Member Functions | |
PluginConfigNode () | |
PluginConfigNode (PluginConfigNode parent) | |
PluginConfigNode | GetParent () |
Gets the parent of this node. More... | |
T | GetValue< T > (string key) |
Get the value of a configuration key. More... | |
T | GetValue< T > (string key, T _default) |
Get the value of a configuration key. More... | |
void | SetValue (string key, object value) |
Set the value of a configuration key More... | |
Properties | |
object | this[string key] [get, set] |
Get or set the value of a configuration key More... | |
A node full of configuration values.
KSP.IO.PluginConfigNode.PluginConfigNode | ( | ) |
KSP.IO.PluginConfigNode.PluginConfigNode | ( | PluginConfigNode | parent | ) |
PluginConfigNode KSP.IO.PluginConfigNode.GetParent | ( | ) |
Gets the parent of this node.
T KSP.IO.PluginConfigNode.GetValue< T > | ( | string | key | ) |
Get the value of a configuration key.
T |
key |
T KSP.IO.PluginConfigNode.GetValue< T > | ( | string | key, |
T | _default | ||
) |
Get the value of a configuration key.
T |
key | |
_default |
void KSP.IO.PluginConfigNode.SetValue | ( | string | key, |
object | value | ||
) |
Set the value of a configuration key
key | |
value |
|
getset |
Get or set the value of a configuration key
key |