SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gui_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 class GUIWindow;
13 class GUISettings;
14 
15 template<class Archive>
16 void serialize(Archive &archive, GUIWindow &wnd);
17 template<class Archive>
18 void serialize(Archive &archive, GUISettings &gui, uint32_t const version);
19 
20 void saveTo(const GUISettings &target,const QString &baseName,bool text_format=false);
21 
22 void serializeToDb(const GUISettings &data, QString &tgt);
23 void serializeFromDb(GUISettings &data, const QString &src);
void serializeFromDb(ClientOptions &data, const QString &src)
void serialize(Archive &archive, TextureAnim_Data &m)
Definition: anim_serializers.cpp:33
Definition: gui_definitions.h:114
Definition: gui_definitions.h:80
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))