4#include "entt/entity/fwd.hpp"
6#include <entt/entt.hpp>
19std::vector<uint8_t>
serialize(
const entt::registry& registry);
24 explicit Loader(entt ::registry& registry) : registry(registry), loader(registry) {}
25 void apply(
const uint8_t* data,
size_t size, std::optional<entt::entity> localPlayerServerEntity = std::nullopt);
26 [[nodiscard]] entt::entity
map(entt::entity)
const;
29 entt::registry& registry;
30 entt::continuous_loader loader;
Definition RegistrySerialization.hpp:22
entt::entity map(entt::entity) const
Definition RegistrySerialization.cpp:121
Loader(entt ::registry ®istry)
Definition RegistrySerialization.hpp:24
void apply(const uint8_t *data, size_t size, std::optional< entt::entity > localPlayerServerEntity=std::nullopt)
Definition RegistrySerialization.cpp:79
Definition RegistrySerialization.cpp:34
std::vector< uint8_t > serialize(const entt::registry ®istry)
Definition RegistrySerialization.cpp:49