SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
attrib_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 
10 #include <stdint.h>
11 #include <vector>
12 class BinStore;
13 class QString;
14 
15 struct Parse_CharAttrib;
16 struct Parse_CharAttribMax;
17 struct AttribNames_Data;
18 
19 constexpr const static uint32_t attribnames_i0_requiredCrc = 0xED2ECE38;
20 bool loadFrom(BinStore *s,AttribNames_Data &target) ;
21 void saveTo(const AttribNames_Data &target,const QString &baseName,bool text_format=false);
22 
23 bool loadFrom(BinStore *s, Parse_CharAttrib &target);
24 bool loadFrom(BinStore *s, Parse_CharAttribMax &target);
25 
26 template<class Archive>
27 void serialize(Archive & archive, Parse_CharAttrib & m);
28 template<class Archive>
29 void serialize(Archive & archive, Parse_CharAttribMax & m);
void serialize(Archive &archive, TextureAnim_Data &m)
Definition: anim_serializers.cpp:33
Definition: DataStorage.h:23
Definition: attrib_definitions.h:20
Definition: attrib_definitions.h:28
Definition: attrib_definitions.h:80
bool loadFrom(BinStore *s, TextureAnim_Data &target)
Definition: anim_serializers.cpp:19
void saveTo(const TextureAnim_Data &target, const QString &baseName, bool text_format=false)
archive(cereal::make_nvp("Mods", k.Mods))