SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
npc_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 
13 class BinStore;
14 class QString;
15 using AllNpcs_Data = std::vector<struct Parse_NPC>;
16 
17 static constexpr uint32_t npccostumesets_i0_requiredCrc=0x944EC021;
18 bool loadFrom(BinStore * s, AllNpcs_Data & target);
19 void saveTo(const AllNpcs_Data &target,const QString &baseName,bool text_format=false);
Definition: DataStorage.h:23
std::vector< Parse_NPC > AllNpcs_Data
Definition: npc_definitions.h:69
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)