SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
def_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 #include <vector>
11 
12 class QString;
13 class BinStore;
14 struct LevelExpAndDebt;
15 struct Parse_Combining;
16 struct Parse_Effectiveness;
18 typedef std::vector<struct Parse_Origin> Parse_AllOrigins;
19 
20 constexpr const static uint32_t levelsdebts_i0_requiredCrc = 0x8F0D1A87;
21 bool loadFrom(BinStore *s,LevelExpAndDebt &target);
22 void saveTo(const LevelExpAndDebt & target, const QString &baseName, bool text_format=false);
23 
24 constexpr const static uint32_t combining_i0_requiredCrc = 0x7F06A6D1;
25 bool loadFrom(BinStore *s,Parse_Combining *target);
26 void saveTo(const Parse_Combining & target, const QString &baseName, bool text_format=false);
27 
28 
29 constexpr const static uint32_t boosteffectiveness_i0_requiredCrc = 0x5706CEC8;
30 bool loadFrom(BinStore *s,Parse_Effectiveness *target);
31 void saveTo(const Parse_Effectiveness & target, const QString &baseName, bool text_format=false);
32 
33 
34 constexpr const static uint32_t origins_i0_requiredCrc = 0x763EA46E;
35 bool loadFrom(BinStore *s,Parse_AllOrigins &target);
36 void saveTo(const Parse_AllOrigins & target, const QString &baseName, bool text_format=false);
37 
38 
39 constexpr const static uint32_t pischedule_i0_requiredCrc = 0x27267F27;
40 bool loadFrom(BinStore *s,Parse_PI_Schedule *target);
41 void saveTo(const Parse_PI_Schedule & target, const QString &baseName, bool text_format=false);
std::vector< struct Parse_Origin > Parse_AllOrigins
Definition: def_serializers.h:17
Definition: DataStorage.h:23
Definition: other_definitions.h:22
Definition: other_definitions.h:28
bool loadFrom(BinStore *s, TextureAnim_Data &target)
Definition: anim_serializers.cpp:19
Definition: other_definitions.h:14
void saveTo(const TextureAnim_Data &target, const QString &baseName, bool text_format=false)
Definition: other_definitions.h:18