C/C++ SDK / C ABI · Editor / KroysCommandCallbacks
KroysCommandCallbacks
What a command runs (main thread).
Kindstruct
Headerkroys/kroys_plugin.h
Members6
Functions3
DECLARATION
Declaration
Declared in kroys/kroys_plugin.h.
kroys_plugin.h
typedef struct KroysCommandCallbacks { ... } KroysCommandCallbacks;
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
#void (KROYS_CALL* Execute)(void* userData);Runs the command (main thread).
#int32_t (KROYS_CALL* IsEnabled)(void* userData);null: always enabled
#int32_t (KROYS_CALL* IsChecked)(void* userData);null: never checked
Members
uint32_t structSize; uint32_t reserved; void* userData; void (KROYS_CALL* Execute)(void* userData); int32_t (KROYS_CALL* IsEnabled)(void* userData); int32_t (KROYS_CALL* IsChecked)(void* userData);
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.