Emergency 20 Dokumentation  4.2.0
em5::MapIdentifier Class Reference

EMERGENCY 5 map identifier class. More...

#include <MapIdentifier.h>

Public Types

enum  MapIndex {
  MAP_MUNICH_INDEX = 0, MAP_HAMBURG_INDEX, MAP_BERLIN_INDEX, MAP_COLOGNE_INDEX,
  MAP_MEDIEVAL_INDEX, MAP_MEDIEVAL_HAMBURG_INDEX
}
 

Public Member Functions

 MapIdentifier ()
 Default constructor. More...
 
 MapIdentifier (int32 index)
 Constructor. More...
 
 ~MapIdentifier ()
 Destructor. More...
 
bool isOriginalMap () const
 
int32 getIndex () const
 
const std::string & getIdentifier () const
 
std::string getLocalizationString () const
 
const std::string & getLocalAssetName () const
 
const MainEventIdentifiergetSecondLastMainEventIdentifier () const
 
const std::string & getWorldEventEventPools () const
 
const std::vector< std::string > & getSeasonalEvents () const
 
bool operator== (const MapIdentifier &other) const
 

Static Public Member Functions

static MapIdentifier getMunich ()
 
static MapIdentifier getHamburg ()
 
static MapIdentifier getBerlin ()
 
static MapIdentifier getCologne ()
 
static MapIdentifier getMedivial ()
 
static MapIdentifier getMedivialHamburg ()
 
static MapIdentifier fromIdentifier (const std::string &identifier)
 
static MapIdentifier fromLocalAssetName (const std::string &localAssetName)
 
static MapIdentifier fromGlobalAssetId (const qsf::GlobalAssetId &globalAssetId)
 

Static Public Attributes

static const std::string MAP_MUNICH
 
static const std::string MAP_HAMBURG
 
static const std::string MAP_BERLIN
 
static const std::string MAP_COLOGNE
 
static const std::string MAP_MEDIEVAL
 
static const std::string MAP_MEDIEVAL_HAMBURG
 
static const std::string MAP_MUNICH_LOCAL_ASSET_NAME
 
static const std::string MAP_HAMBURG_LOCAL_ASSET_NAME
 
static const std::string MAP_BERLIN_LOCAL_ASSET_NAME
 
static const std::string MAP_COLOGNE_LOCAL_ASSET_NAME
 
static const std::string MAP_MEDIEVAL_LOCAL_ASSET_NAME
 
static const std::string MAP_MEDIEVAL_HAMBURG_LOCAL_ASSET_NAME
 

Detailed Description

EMERGENCY 5 map identifier class.

Member Enumeration Documentation

Enumerator
MAP_MUNICH_INDEX 
MAP_HAMBURG_INDEX 
MAP_BERLIN_INDEX 
MAP_COLOGNE_INDEX 
MAP_MEDIEVAL_INDEX 
MAP_MEDIEVAL_HAMBURG_INDEX 

Constructor & Destructor Documentation

em5::MapIdentifier::MapIdentifier ( )

Default constructor.

em5::MapIdentifier::MapIdentifier ( int32  index)
explicit

Constructor.

em5::MapIdentifier::~MapIdentifier ( )

Destructor.

Member Function Documentation

static MapIdentifier em5::MapIdentifier::fromGlobalAssetId ( const qsf::GlobalAssetId globalAssetId)
static
static MapIdentifier em5::MapIdentifier::fromIdentifier ( const std::string &  identifier)
static
static MapIdentifier em5::MapIdentifier::fromLocalAssetName ( const std::string &  localAssetName)
static
static MapIdentifier em5::MapIdentifier::getBerlin ( )
static
static MapIdentifier em5::MapIdentifier::getCologne ( )
static
static MapIdentifier em5::MapIdentifier::getHamburg ( )
static
const std::string & em5::MapIdentifier::getIdentifier ( ) const
inline
int32 em5::MapIdentifier::getIndex ( ) const
inline
const std::string & em5::MapIdentifier::getLocalAssetName ( ) const
inline
std::string em5::MapIdentifier::getLocalizationString ( ) const
static MapIdentifier em5::MapIdentifier::getMedivial ( )
static
static MapIdentifier em5::MapIdentifier::getMedivialHamburg ( )
static
static MapIdentifier em5::MapIdentifier::getMunich ( )
static
const std::vector< std::string > & em5::MapIdentifier::getSeasonalEvents ( ) const
inline
const MainEventIdentifier & em5::MapIdentifier::getSecondLastMainEventIdentifier ( ) const
inline
const std::string & em5::MapIdentifier::getWorldEventEventPools ( ) const
inline
bool em5::MapIdentifier::isOriginalMap ( ) const
inline
bool em5::MapIdentifier::operator== ( const MapIdentifier other) const
inline

Member Data Documentation

const std::string em5::MapIdentifier::MAP_BERLIN
static
const std::string em5::MapIdentifier::MAP_BERLIN_LOCAL_ASSET_NAME
static
const std::string em5::MapIdentifier::MAP_COLOGNE
static
const std::string em5::MapIdentifier::MAP_COLOGNE_LOCAL_ASSET_NAME
static
const std::string em5::MapIdentifier::MAP_HAMBURG
static
const std::string em5::MapIdentifier::MAP_HAMBURG_LOCAL_ASSET_NAME
static
const std::string em5::MapIdentifier::MAP_MEDIEVAL
static
const std::string em5::MapIdentifier::MAP_MEDIEVAL_HAMBURG
static
const std::string em5::MapIdentifier::MAP_MEDIEVAL_HAMBURG_LOCAL_ASSET_NAME
static
const std::string em5::MapIdentifier::MAP_MEDIEVAL_LOCAL_ASSET_NAME
static
const std::string em5::MapIdentifier::MAP_MUNICH
static
const std::string em5::MapIdentifier::MAP_MUNICH_LOCAL_ASSET_NAME
static

The documentation for this class was generated from the following files: