eco2d/code/apps/server/source/modules/net.c

17 lines
295 B
C
Raw Normal View History

2021-01-19 10:31:23 +00:00
#include "modules/net.h"
2021-01-19 10:19:12 +00:00
void NetImport(ecs_world_t *ecs) {
ECS_MODULE(ecs, Net);
ecs_set_name_prefix(ecs, "Net");
ECS_TAG(ecs, EcsClient);
ECS_IMPORT(ecs, FlecsMeta);
ECS_META(ecs, ClientInfo);
ECS_EXPORT_ENTITY(EcsClient);
ECS_EXPORT_COMPONENT(ClientInfo);
}