Emergency 20 Dokumentation  4.1.0
Public Member Functions | Public Attributes | List of all members
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...
 

Constructor & Destructor Documentation

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

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)

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

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

bool qsf::Map::SerializationOptions::mDifferenceToDefault

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

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

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

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

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)


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