C/C++ SDK / C ABI · Editor / KroysAutomationCallbacks
KroysAutomationCallbacks
An automation step (editor->RegisterAutomationStep): capture scripts run it as plugin-step <name> [argument].
Kindstruct
Headerkroys/kroys_plugin.h
Members4
Functions1
DECLARATION
Declaration
Declared in kroys/kroys_plugin.h.
kroys_plugin.h
typedef struct KroysAutomationCallbacks { ... } KroysAutomationCallbacks;
REFERENCE
Members
Fields
#uint32_t structSize;Size of this struct as the writer compiled it (sizeof); the reader uses it to detect members appended by later minor versions.
#uint32_t reserved;Padding reserved for later use; leave it 0.
#void* userData;Plugin-owned pointer passed back unchanged to every callback of this table; the host never dereferences it.
Functions
#KroysResult (KROYS_CALL* Run)(void* userData, const char* argument, const KroysAutomationJob* job);Runs the step with its argument (main thread); nonzero result fails the step.
Members
uint32_t structSize; uint32_t reserved; void* userData; KroysResult (KROYS_CALL* Run)(void* userData, const char* argument, const KroysAutomationJob* job);
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.