KROYSDOCS
HomeWhat's newv0.1.0
C/C++ SDK / C ABI · Runtime (system graph) / KroysRuntimeApi

KroysRuntimeApi

The game's system graph (player and the editor's Play mode). Runtime target only.

Kindstruct
Headerkroys/kroys_plugin.h
Members3
Functions1
DECLARATION

Declaration

Declared in kroys/kroys_plugin.h.

kroys_plugin.h
typedef struct KroysRuntimeApi { ... } KroysRuntimeApi;
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.

field
#uint32_t reserved;

Padding reserved for later use; leave it 0.

field
Functions
#KroysResult (KROYS_CALL* RegisterSystem)(KroysContext context, const KroysSystemDesc* desc, const KroysSystemCallbacks* callbacks, KroysHandle* outHandle);

Capability "systems". Runs in every game world (player and the editor's Play mode).

function pointer
Members
uint32_t structSize;
uint32_t reserved;
KroysResult (KROYS_CALL* RegisterSystem)(KroysContext context, const KroysSystemDesc* desc, const KroysSystemCallbacks* callbacks, KroysHandle* outHandle);

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.