Config

Static class which handles the configuration options and YAML interactions.

Members

Static functions

get
T get(string path, Node node)

Get the element, cast to the given type, at the given path, in the given node.

getPath
string getPath(string path)

Get element as a file path.

initialize
void initialize()
Undocumented in source. Be warned that the author may not have intended to support it.
loadYaml
Node loadYaml(string path)

Load a yaml file with the engine-specific mappings.

processYamlDirectory
void processYamlDirectory(string folder, void delegate(Node) callback)

Process all yaml files in a directory, and call the callback with all the root level nodes.

tryGet
bool tryGet(string path, T result, Node node)
bool tryGet(string path, Variant result, Node node)

Try to get the value at path, assign to result, and return success.

tryGet
bool tryGet(string path, T result, Node node)
Undocumented in source.

Meta