SEGS  0.6.1-develop [3e741b81]
Super Entity Game Server
costume_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 - 2019 SEGS Team (see AUTHORS.md)
5  * This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details.
6  */
7 
8 #pragma once
9 #include <stdint.h>
11 class BinStore;
12 class QString;
13 
14 static constexpr uint32_t tailorcosts_i0_requiredCrc=0xEC2F43E6;
15 bool loadFrom(BinStore * s, AllTailorCosts_Data * target);
16 void saveTo(const AllTailorCosts_Data &target,const QString &baseName,bool text_format=false);
17 
18 static constexpr uint32_t costumesets_i0_requiredCrc=0x9A79F6D5;
19 bool loadFrom(BinStore * s, CostumeSet_Data * target);
20 void saveTo(const CostumeSet_Data &target,const QString &baseName,bool text_format=false);
21 
22 static constexpr uint32_t palette_i0_requiredCrc=0x3C075513;
23 bool loadFrom(BinStore *s,Pallette_Data *target);
24 void saveTo(const Pallette_Data &target,const QString &baseName,bool text_format=false);
25 
26 static constexpr uint32_t geoset_i0_requiredCrc=0xB232BD7F;
27 bool loadFrom(BinStore *s,GeoSet_Data *target);
28 void saveTo(const GeoSet_Data &target,const QString &baseName,bool text_format=false);
Definition: costume_definitions.h:36
Definition: DataStorage.h:23
Definition: costume_definitions.h:57
std::vector< Costume2_Data > CostumeSet_Data
Definition: costume_definitions.h:103
bool loadFrom(BinStore *s, AllTailorCosts_Data *target)
Definition: costume_serializers.cpp:259
std::vector< TailorCost_Data > AllTailorCosts_Data
Definition: costume_definitions.h:29
void saveTo(const AllTailorCosts_Data &target, const QString &baseName, bool text_format=false)
Definition: costume_serializers.cpp:303