v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
26
source/game/StarCodexDatabase.hpp
Normal file
26
source/game/StarCodexDatabase.hpp
Normal file
|
@ -0,0 +1,26 @@
|
|||
#ifndef STAR_CODEX_DATABASE_HPP
|
||||
#define STAR_CODEX_DATABASE_HPP
|
||||
|
||||
#include "StarJson.hpp"
|
||||
#include "StarCodex.hpp"
|
||||
|
||||
namespace Star {
|
||||
|
||||
STAR_EXCEPTION(CodexDatabaseException, StarException);
|
||||
|
||||
STAR_CLASS(CodexDatabase);
|
||||
|
||||
class CodexDatabase {
|
||||
public:
|
||||
CodexDatabase();
|
||||
|
||||
StringMap<CodexConstPtr> codexes() const;
|
||||
CodexConstPtr codex(String const& codexId) const;
|
||||
|
||||
private:
|
||||
StringMap<CodexConstPtr> m_codexes;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue