using Lua;
namespace AIStudio.Tools.PluginSystem;
///
/// Reads one configuration object from the Lua table in which a configuration plugin defines it.
///
/// The position of the entry within its Lua table, which the log names.
/// The entry to read.
/// The configuration plugin which defines the object.
/// The directory of the plugin, which paths in the entry are relative to.
/// Whether the plugin is only checked, e.g., before an import. Nothing must be stored then.
/// The configuration object read from the entry.
/// True when the entry defines a valid configuration object.
public delegate bool ConfigurationObjectParser(int index, LuaTable table, Guid configPluginId, string pluginPath, bool dryRun, out ConfigurationBaseObject configObject);