registerInstance

fun registerInstance(instance: Any)

Registers all VoltAction-annotated methods from the given instance.

Methods must have enableAITool = true in their annotation to be registered. Each registered action is assigned a unique ID based on the class qualified name and method name.

Parameters

instance

the object instance to scan for actions