ludus::runtime::behavior::Services¶
Ludus Wiki · API overview · Browse API
Struct
Owner-thread service boundary. It must finish without entering a VM or mutating the world.
Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h
#include <ludus/runtime/behavior/behavior.h>
struct ludus::runtime::behavior::Services
Fields¶
User¶
void* ludus::runtime::behavior::Services::User = nullptr
Borrowed native service context.
Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h
IsAlive¶
bool(*) ludus::runtime::behavior::Services::IsAlive(void *, EntityRef) noexcept(void *, EntityRef) noexcept = nullptr
Checks game-owned slot/generation; required for Entity values.
Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h