|
glm::vec3 | shkyera::serialization::fromProto (const shkyeraProto::Vec3 &vec) |
|
template<typename AssetType > |
HandleAndAsset< AssetType > | shkyera::serialization::fromProto (Registry *registry, const std::map< Entity, Entity > &protoToRegistryEntities, Entity protoEntity) |
|
void | shkyera::serialization::toProto (const glm::vec3 &vec, shkyeraProto::Vec3 &out) |
|
template<typename AssetType > |
uint32_t | shkyera::serialization::toProto (const HandleAndAsset< AssetType > &asset) |
|
template<typename ComponentType , typename ProtoType , typename ConversionFunc > |
void | shkyera::serialization::loadComponents (Registry *registry, std::map< Entity, Entity > &protoToRegistryEntities, const ProtoArray< ProtoType > &protoComponents, ConversionFunc constructComponent) |
|
template<typename ComponentType , typename ProtoType , typename ConversionFunc > |
void | shkyera::serialization::loadSingletonComponent (Registry *registry, std::map< Entity, Entity > &protoToRegistryEntities, const ProtoType &protoComponent, ConversionFunc constructComponent) |
|
std::unique_ptr< shkyera::Registry > | shkyera::serialization::fromBinary (std::istream &serialized) |
|
template<typename ComponentType , typename ProtoType , typename SerializeFunc > |
void | shkyera::serialization::serializeComponents (Registry const *registry, ProtoArray< ProtoType > &protoComponents, SerializeFunc serializeFunc) |
|
template<typename ComponentType , typename ProtoType , typename SerializeFunc > |
void | shkyera::serialization::serializeSingletonComponent (Registry const *registry, ProtoType &protoComponent, SerializeFunc serializeFunc) |
|
void | shkyera::serialization::toBinary (std::ostream &outputStream, Registry const *registry) |
|