SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
bodypart_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 
11 #include <cstdint>
12 #include <vector>
13 
14 class BinStore;
15 class QString;
16 struct BodyPart_Data;
17 
18 using AllBodyParts_Data = std::vector<BodyPart_Data>;
19 
20 constexpr const static uint32_t bodyparts_i0_requiredCrc = 0x541B59EB;
21 bool loadFrom(BinStore *s,AllBodyParts_Data *target) ;
22 void saveTo(const AllBodyParts_Data &target,const QString &baseName,bool text_format=false);
23 
Definition: DataStorage.h:23
std::vector< BodyPart_Data > AllBodyParts_Data
Definition: bodypart_serializers.h:18
void saveTo(const AllBodyParts_Data &target, const QString &baseName, bool text_format=false)
Definition: bodypart_serializers.cpp:77
bool loadFrom(BinStore *s, AllBodyParts_Data *target)
Definition: bodypart_serializers.cpp:55
Definition: bodypart_definitions.h:12