summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-01 22:16:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:54 +0300
commitabf9ca965980e90e017f6548b7a2ac532909f6be (patch)
tree8a103765493181d89552c92f0f6f25afda1a615c
parenta453b123da204e33df2933e238aa59f0b83ff521 (diff)
downloadplus-abf9ca965980e90e017f6548b7a2ac532909f6be.tar.gz
plus-abf9ca965980e90e017f6548b7a2ac532909f6be.tar.bz2
plus-abf9ca965980e90e017f6548b7a2ac532909f6be.tar.xz
plus-abf9ca965980e90e017f6548b7a2ac532909f6be.zip
eathena: add being type enum.
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/Makefile.am1
-rw-r--r--src/net/eathena/beingtype.h45
3 files changed, 47 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e51b6b274..9c9a13448 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1326,6 +1326,7 @@ SET(SRCS_EATHENA
net/eathena/attrs.h
net/eathena/beinghandler.cpp
net/eathena/beinghandler.h
+ net/eathena/beingtype.h
net/eathena/buysellhandler.cpp
net/eathena/buysellhandler.h
net/eathena/charserverhandler.cpp
diff --git a/src/Makefile.am b/src/Makefile.am
index b0e559a49..330f5fbd0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1256,6 +1256,7 @@ manaplus_SOURCES += net/eathena/gui/guildtab.cpp \
net/eathena/attrs.h \
net/eathena/beinghandler.cpp \
net/eathena/beinghandler.h \
+ net/eathena/beingtype.h \
net/eathena/buysellhandler.cpp \
net/eathena/buysellhandler.h \
net/eathena/charserverhandler.cpp \
diff --git a/src/net/eathena/beingtype.h b/src/net/eathena/beingtype.h
new file mode 100644
index 000000000..7b45f1e8b
--- /dev/null
+++ b/src/net/eathena/beingtype.h
@@ -0,0 +1,45 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2014 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef NET_EATHENA_BEINGTYPE_H
+#define NET_EATHENA_BEINGTYPE_H
+
+namespace EAthena
+{
+ namespace BeingType
+ {
+ enum BeingType
+ {
+ PC = 0,
+ NPC = 1,
+ ITEM = 2,
+ SKILL = 3,
+ CHAT = 4,
+ MONSTER = 5,
+ NPC_EVENT = 6,
+ PET = 7,
+ HOMUN = 8,
+ MERSOL = 9,
+ ELEMENTAL = 10
+ };
+ } // namespace BeingType
+} // namespace EAthena
+
+#endif // NET_EATHENA_BEINGTYPE_H