![]() |
Flecs v4.0
A fast entity component system (ECS) for C & C++
|
Used with ecs_ptr_from_json(), ecs_entity_from_json(). More...
#include <json.h>
Public Attributes | |
| const char * | name |
| Name of expression (used for logging) | |
| const char * | expr |
| Full expression (used for logging) | |
| ecs_entity_t(* | lookup_action )(const ecs_world_t *, const char *value, void *ctx) |
| Callback that allows for specifying a custom lookup function. | |
| void * | lookup_ctx |
| bool | strict |
| Require components to be registered with reflection data. | |
Used with ecs_ptr_from_json(), ecs_entity_from_json().
| const char* ecs_from_json_desc_t::expr |
| ecs_entity_t(* ecs_from_json_desc_t::lookup_action) (const ecs_world_t *, const char *value, void *ctx) |
Callback that allows for specifying a custom lookup function.
The default behavior uses ecs_lookup()
| const char* ecs_from_json_desc_t::name |
| bool ecs_from_json_desc_t::strict |