SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
scenegraph_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>
10 #include <vector>
11 
12 class BinStore;
13 class QString;
14 struct SceneGraph_Data;
15 
16 static constexpr uint32_t scenegraph_i0_2_requiredCrc=0xD3432007;
17 bool loadFrom(BinStore *s,SceneGraph_Data &target);
18 bool loadFrom(const QString &filepath,SceneGraph_Data &target);
19 void saveTo(const SceneGraph_Data &target,const QString &baseName,bool text_format=false);
20 QString getFilepathCaseInsensitive(QString fpath);
22 bool LoadSceneData(const QString &fname, SceneGraph_Data &scenegraph);
QString getFilepathCaseInsensitive(QString fpath)
Definition: scenegraph_serializers.cpp:377
Definition: scenegraph_definitions.h:115
bool LoadSceneData(const QString &fname, SceneGraph_Data &scenegraph)
Generic loader function will load cereal version, or if that does not exists a bin version...
Definition: scenegraph_serializers.cpp:406
Definition: DataStorage.h:23
void saveTo(const SceneGraph_Data &target, const QString &baseName, bool text_format=false)
Definition: scenegraph_serializers.cpp:367
bool loadFrom(BinStore *s, SceneGraph_Data &target)
Definition: scenegraph_serializers.cpp:221