Kerbal Space Program
1.12.4
|
A node containing configuration information More...
Public Member Functions | |
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... | |
PluginConfigNode (PluginConfigNode parent) | |
Specify the parent object when creating a node. More... | |
PluginConfigNode () | |
Create a new node. 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 containing configuration information
|
inline |
Specify the parent object when creating a node.
parent |
|
inline |
Create a new node.
|
inline |
Gets the parent of this node.
|
inline |
Get the value of a configuration key.
T | Type you want returned |
key | The configuration key which you want to fetch |
|
inline |
Get the value of a configuration key.
T | Type you want returned |
key | The configuration key which you want to fetch |
_default | The default value returned when the key cannot be found. |
|
inline |
Set the value of a configuration key
key | The name of the configuration key |
value | The value you wish to set it to |
|
getset |
Get or set the value of a configuration key
key | The name of the configuration value |