LDKEntityRegistry
typedef struct LDKEntityRegistry{
XHPool pool;
void(*component_state_changed)(void *user, LDKEntity entity);
void *component_state_user;
}LDKEntityRegistry;
typedef struct LDKEntityRegistry{
XHPool pool;
void(*component_state_changed)(void *user, LDKEntity entity);
void *component_state_user;
}LDKEntityRegistry;
Clear the state of the entity module.
LDK_API void ldk_entity_module_clear(LDKEntityRegistry *system);
LDKEntityRegistry *systemInitialize the entity module.
LDK_API bool ldk_entity_module_initialize(
LDKEntityRegistry *system,
u32 page_capacity,
u32 initial_pages
);
LDKEntityRegistry *systemu32 page_capacityu32 initial_pagesTrue if the operation succeeds; false otherwise.
Shut down the entity module.
LDK_API void ldk_entity_module_terminate(LDKEntityRegistry *system);
LDKEntityRegistry *system