summaryrefslogtreecommitdiff
path: root/src/resources/db/npcdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 16:19:21 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 16:19:21 +0300
commit7bdb50605562e47f1d6ae134881c09bd42293be5 (patch)
tree935228722e4eb48f5856abec53be1ec985a0b9d6 /src/resources/db/npcdb.h
parent0f9ec2061c4ad6157c3186f1cab9c4d8558980b5 (diff)
downloadmanaverse-7bdb50605562e47f1d6ae134881c09bd42293be5.tar.gz
manaverse-7bdb50605562e47f1d6ae134881c09bd42293be5.tar.bz2
manaverse-7bdb50605562e47f1d6ae134881c09bd42293be5.tar.xz
manaverse-7bdb50605562e47f1d6ae134881c09bd42293be5.zip
Add strong typed int type BeingTypeId.
Diffstat (limited to 'src/resources/db/npcdb.h')
-rw-r--r--src/resources/db/npcdb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/db/npcdb.h b/src/resources/db/npcdb.h
index 283671fba..90b50b1cc 100644
--- a/src/resources/db/npcdb.h
+++ b/src/resources/db/npcdb.h
@@ -23,7 +23,7 @@
#ifndef RESOURCES_DB_NPCDB_H
#define RESOURCES_DB_NPCDB_H
-#include "enums/simpletypes/beingid.h"
+#include "enums/simpletypes/beingtypeid.h"
#include <string>
@@ -40,9 +40,9 @@ namespace NPCDB
void unload();
- BeingInfo *get(const BeingId id) A_WARN_UNUSED;
+ BeingInfo *get(const BeingTypeId id) A_WARN_UNUSED;
- BeingId getAvatarFor(const BeingId id);
+ BeingTypeId getAvatarFor(const BeingTypeId id);
void loadXmlFile(const std::string &fileName);
} // namespace NPCDB