summaryrefslogtreecommitdiff
path: root/src/enums/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-22 21:44:22 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-22 21:44:22 +0300
commitab3b909187ee0a18946bff50a6bd3e8e281970f1 (patch)
tree070f99fa55315de2a4e688e5ff0397e395681d28 /src/enums/net
parentd27c8b53bcd8c7e8e0aa74656e32aeb688629b4b (diff)
downloadmanaverse-ab3b909187ee0a18946bff50a6bd3e8e281970f1.tar.gz
manaverse-ab3b909187ee0a18946bff50a6bd3e8e281970f1.tar.bz2
manaverse-ab3b909187ee0a18946bff50a6bd3e8e281970f1.tar.xz
manaverse-ab3b909187ee0a18946bff50a6bd3e8e281970f1.zip
Remove checking packet id in getNpc function.
Diffstat (limited to 'src/enums/net')
-rw-r--r--src/enums/net/npcaction.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/enums/net/npcaction.h b/src/enums/net/npcaction.h
new file mode 100644
index 000000000..7fe9e3756
--- /dev/null
+++ b/src/enums/net/npcaction.h
@@ -0,0 +1,34 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-2015 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 ENUMS_NET_NPCACTION_H
+#define ENUMS_NET_NPCACTION_H
+
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(NpcAction)
+{
+ Next = 0,
+ Close = 1,
+ Other = 2
+}
+enumEnd(NpcAction);
+
+#endif // ENUMS_NET_NPCACTION_H