Emergency 20 Dokumentation  4.2.0
ModSystem-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 const std::string& ModSystem::getModsUserDirectory() const
15  {
16  return mModsUserDirectory;
17  }
18 
19  inline const boost::container::flat_map<uint32, Mod*>& ModSystem::getMods() const
20  {
21  return mMods.getElements();
22  }
23 
24 
25  //[-------------------------------------------------------]
26  //[ Public virtual qsf::System methods ]
27  //[-------------------------------------------------------]
28  inline const char* ModSystem::getName() const
29  {
30  return "Mod system";
31  }
32 
33 
34 //[-------------------------------------------------------]
35 //[ Namespace ]
36 //[-------------------------------------------------------]
37 } // em5
Definition: ActionPriority.h:13
const boost::container::flat_map< uint32, Mod * > & getMods() const
Definition: ModSystem-inl.h:19
const ElementMap & getElements() const
Return map of elements.
Definition: ElementManager-inl.h:34
const std::string & getModsUserDirectory() const
Definition: ModSystem-inl.h:14
virtual const char * getName() const override
Get the name of the system.
Definition: ModSystem-inl.h:28