Emergency 20 Dokumentation  4.2.0
MapIdentifier-inl.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Namespace ]
6 //[-------------------------------------------------------]
7 namespace em5
8 {
9 
10 
11  //[-------------------------------------------------------]
12  //[ Public methods ]
13  //[-------------------------------------------------------]
14  inline bool MapIdentifier::isOriginalMap() const
15  {
16  return (mIndex >= 0);
17  }
18 
20  {
21  return mIndex;
22  }
23 
24  inline const std::string& MapIdentifier::getIdentifier() const
25  {
26  return mIdentifier;
27  }
28 
29  inline const std::string& MapIdentifier::getLocalAssetName() const
30  {
31  return mLocalAssetName.getName();
32  }
33 
35  {
36  return mSecondLastMainEventIdentifier;
37  }
38 
39  inline const std::string& MapIdentifier::getWorldEventEventPools() const
40  {
41  return mWorldEventEventPools;
42  }
43 
44  inline const std::vector<std::string>& MapIdentifier::getSeasonalEvents() const
45  {
46  return mSeasonalEvents;
47  }
48 
49  inline bool MapIdentifier::operator==(const MapIdentifier& other) const
50  {
51  return (mLocalAssetName == other.mLocalAssetName);
52  }
53 
54 
55 //[-------------------------------------------------------]
56 //[ Namespace ]
57 //[-------------------------------------------------------]
58 } // em5
const MainEventIdentifier & getSecondLastMainEventIdentifier() const
Definition: MapIdentifier-inl.h:34
Definition: ActionPriority.h:13
const std::string & getIdentifier() const
Definition: MapIdentifier-inl.h:24
bool isOriginalMap() const
Definition: MapIdentifier-inl.h:14
EMERGENCY 5 main event identifier class.
Definition: MainEventIdentifier.h:30
EMERGENCY 5 map identifier class.
Definition: MapIdentifier.h:34
signed int int32
Definition: PlatformTypes.h:180
bool operator==(const MapIdentifier &other) const
Definition: MapIdentifier-inl.h:49
const std::string & getLocalAssetName() const
Definition: MapIdentifier-inl.h:29
const std::string & getWorldEventEventPools() const
Definition: MapIdentifier-inl.h:39
int32 getIndex() const
Definition: MapIdentifier-inl.h:19
const std::string & getName() const
Return the name string.
Definition: NamedIdentifier-inl.h:51
const std::vector< std::string > & getSeasonalEvents() const
Definition: MapIdentifier-inl.h:44