Skip to content

AccessorApi

Api for iterating over all godot Object to aquire usually inaccessible references.

Description

The AccessorApi offers the ability to iterate over all instances of Object using a visitor pattern. It is intended for aquiring some references that would usually be inaccessible inside C# objects.

Methods

Object accept ( ObjectVisitor visitor )
ConfigFile config ( )

Method Descriptions

Object accept ( ObjectVisitor visitor ):
This will have the AccessorApi make your visitor visit all Object.

ConfigFile config ( ):
Returns the ConfigFile reference used for Dungeondrafts own config. Any changes to existing config entries will be lost, however, new entries will be saved alongside the default entries. Can be used to read the current config settings.