summaryrefslogtreecommitdiff
path: root/src/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/storage.h b/src/storage.h
index 6a844320..682782bf 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -302,8 +302,15 @@ class Storage
* Tells if the character's name already exists
* @return true if character's name exists.
*/
- virtual
- bool doesCharacterNameExists(std::string name) = 0;
+ virtual bool
+ doesCharacterNameExists(std::string name) = 0;
+
+ /**
+ * Tells the map name from the map id
+ * @return the name of the map
+ */
+ virtual const std::string
+ getMapNameFromId(const unsigned int mapId) = 0;
/**
* Saves the changes permanently.