SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
Functions | Variables
entitydata_serializers.cpp File Reference
#include "entitydata_serializers.h"
#include "entitydata_definitions.h"
#include "DataStorage.h"
#include "serialization_common.h"
#include "serialization_types.h"
Include dependency graph for entitydata_serializers.cpp:

Functions

 CEREAL_CLASS_VERSION (EntityData, EntityData::class_version) template< class Archive > void serialize(Archive &archive
 
 archive (cereal::make_nvp("OriginIdx", ed.m_origin_idx))
 
 archive (cereal::make_nvp("ClassIdx", ed.m_class_idx))
 
 archive (cereal::make_nvp("Position", ed.m_pos))
 
 archive (cereal::make_nvp("Orientation", ed.m_orientation_pyr))
 
if(version >=3) archive(cereal void saveTo (const EntityData &target, const QString &baseName, bool text_format)
 
template void serialize< cereal::JSONOutputArchive > (cereal::JSONOutputArchive &archive, EntityData &m, uint32_t const version)
 
template void serialize< cereal::JSONInputArchive > (cereal::JSONInputArchive &archive, EntityData &m, uint32_t const version)
 
void serializeToDb (const EntityData &data, QString &tgt)
 
void serializeFromDb (EntityData &data, const QString &src)
 

Variables

EntityDataed
 
EntityData uint32_t const version