Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
ecs_serializer_t Struct Reference

Serializer interface. More...

#include <meta.h>

Public Attributes

int(* value )(const struct ecs_serializer_t *ser, ecs_entity_t type, const void *value)
 Pointer to the value to serialize.
 
int(* member )(const struct ecs_serializer_t *ser, const char *member)
 Member name.
 
const ecs_world_tworld
 The world.
 
void * ctx
 Serializer context.
 

Detailed Description

Serializer interface.

Definition at line 331 of file meta.h.

Member Data Documentation

◆ ctx

void* ecs_serializer_t::ctx

Serializer context.

Definition at line 344 of file meta.h.

◆ member

int(* ecs_serializer_t::member) (const struct ecs_serializer_t *ser, const char *member)

Member name.

Definition at line 339 of file meta.h.

◆ value

int(* ecs_serializer_t::value) (const struct ecs_serializer_t *ser, ecs_entity_t type, const void *value)

Pointer to the value to serialize.

Definition at line 333 of file meta.h.

◆ world

const ecs_world_t* ecs_serializer_t::world

The world.

Definition at line 343 of file meta.h.


The documentation for this struct was generated from the following file: