summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-24 20:51:36 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-24 20:51:36 +0300
commitca0ca278d0c4aed9a6d50bb9a8982f5261151ab8 (patch)
tree47df9210d64faca244f5244088b11cf19da42acf /src/resources/iteminfo.h
parentb7bbb09d62b55bed26d432a6a2af9831c6ec9143 (diff)
downloadmanaverse-ca0ca278d0c4aed9a6d50bb9a8982f5261151ab8.tar.gz
manaverse-ca0ca278d0c4aed9a6d50bb9a8982f5261151ab8.tar.bz2
manaverse-ca0ca278d0c4aed9a6d50bb9a8982f5261151ab8.tar.xz
manaverse-ca0ca278d0c4aed9a6d50bb9a8982f5261151ab8.zip
Rename enum ItemType into ItemDbType.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index f9c622d3f..ad9a2d6ab 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -25,7 +25,7 @@
#include "enums/being/gender.h"
-#include "enums/resources/itemtype.h"
+#include "enums/resources/itemdbtype.h"
#include "enums/simpletypes/beingtypeid.h"
#include "enums/simpletypes/itemcolor.h"
@@ -100,7 +100,7 @@ class ItemInfo final
const std::string &getEffect() const A_WARN_UNUSED
{ return mEffect; }
- void setType(const ItemTypeT type)
+ void setType(const ItemDbTypeT type)
{ mType = type; }
void setUseButton(const std::string &str)
@@ -115,7 +115,7 @@ class ItemInfo final
const std::string &getUseButton2() const A_WARN_UNUSED
{ return mUseButton2; }
- ItemTypeT getType() const A_WARN_UNUSED
+ ItemDbTypeT getType() const A_WARN_UNUSED
{ return mType; }
void setWeight(const int weight)
@@ -329,7 +329,7 @@ class ItemInfo final
std::string mEffect; /**< Description of effects. */
std::string mUseButton;
std::string mUseButton2;
- ItemTypeT mType; /**< Item type. */
+ ItemDbTypeT mType; /**< Item type. */
int mWeight; /**< Weight in grams. */
int mView; /**< Item ID of how this item looks. */
int mId; /**< Item ID */