Emergency 2017 Dokumentation  v3.0.1
qsf::Map::SerializationOptions Struct Reference

#include <Map.h>

Public Member Functions

 SerializationOptions ()
 
 SerializationOptions (boost::function< void(float)> progressCallback)
 

Public Attributes

bool mDifferenceToDefault
 (Saving only) If "true", save as difference to default values, by using the property override flags More...
 
bool mFilterLoadInGame
 (Loading only) If "true", only load layers marked as "LoadInGame" == "true" and entities which are not rejected by the map quality setting, otherwise do not filter at all More...
 
bool mSetPropertyOverrideFlags
 (Loading only) If "false", property override flags are not necessarily set during load (for performance only, this is not guaranteed for all properties) More...
 
bool mCompatibleMode
 If "true", the map is stored in a way that does not require the very same CAMP classes (for permanent saves, when the binaries may change) More...
 
boost::function< bool(uint32)> mComponentIdFilterCallback
 Component ID filter callback, should return "false" to filter out components by ID. More...
 
boost::function< void(float)> mProgressCallback
 Serialization progress callback (0...1 -> start...finished) More...
 

Detailed Description

Definition at line 111 of file Map.h.

Constructor & Destructor Documentation

qsf::Map::SerializationOptions::SerializationOptions ( )
inline

Definition at line 120 of file Map.h.

qsf::Map::SerializationOptions::SerializationOptions ( boost::function< void(float)>  progressCallback)
inline

Definition at line 127 of file Map.h.

Member Data Documentation

bool qsf::Map::SerializationOptions::mCompatibleMode

If "true", the map is stored in a way that does not require the very same CAMP classes (for permanent saves, when the binaries may change)

Definition at line 116 of file Map.h.

boost::function<bool(uint32)> qsf::Map::SerializationOptions::mComponentIdFilterCallback

Component ID filter callback, should return "false" to filter out components by ID.

Definition at line 117 of file Map.h.

bool qsf::Map::SerializationOptions::mDifferenceToDefault

(Saving only) If "true", save as difference to default values, by using the property override flags

Definition at line 113 of file Map.h.

bool qsf::Map::SerializationOptions::mFilterLoadInGame

(Loading only) If "true", only load layers marked as "LoadInGame" == "true" and entities which are not rejected by the map quality setting, otherwise do not filter at all

Definition at line 114 of file Map.h.

boost::function<void(float)> qsf::Map::SerializationOptions::mProgressCallback

Serialization progress callback (0...1 -> start...finished)

Definition at line 118 of file Map.h.

bool qsf::Map::SerializationOptions::mSetPropertyOverrideFlags

(Loading only) If "false", property override flags are not necessarily set during load (for performance only, this is not guaranteed for all properties)

Definition at line 115 of file Map.h.


The documentation for this struct was generated from the following file: