SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
entitydata_serializers.h
Go to the documentation of this file.
1 /*
2  * SEGS - Super Entity Game Server
3  * http://www.segs.io/
4  * Copyright (c) 2006 - 2018 SEGS Team (see Authors.txt)
5  * This software is licensed! (See License.txt for details)
6  */
7 
8 #pragma once
9 #include <stdint.h>
10 
11 class QString;
12 struct EntityData;
13 
14 template<class Archive>
15 void serialize(Archive & archive, EntityData & m, uint32_t const version);
16 
17 void saveTo(const EntityData &target,const QString &baseName,bool text_format=false);
18 
19 void serializeToDb(const EntityData &data, QString &tgt);
20 void serializeFromDb(EntityData &data, const QString &src);
void serializeFromDb(ClientOptions &data, const QString &src)
void serialize(Archive &archive, TextureAnim_Data &m)
Definition: anim_serializers.cpp:33
Definition: entitydata_definitions.h:14
void serializeToDb(const ClientOptions &data, QString &tgt)
void saveTo(const TextureAnim_Data &target, const QString &baseName, bool text_format=false)
archive(cereal::make_nvp("Mods", k.Mods))