SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
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 - 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 
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
bool loadFrom(BinStore *s, AllNpcs_Data &target)
Definition: npc_serializers.cpp:111
std::vector< Parse_NPC > AllNpcs_Data
Definition: npc_definitions.h:69
void saveTo(const AllNpcs_Data &target, const QString &baseName, bool text_format=false)
Definition: npc_serializers.cpp:179