summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/net/deleteitemreason.h41
-rw-r--r--src/enums/resources/notifytypes.h9
2 files changed, 50 insertions, 0 deletions
diff --git a/src/enums/net/deleteitemreason.h b/src/enums/net/deleteitemreason.h
new file mode 100644
index 000000000..8916f9fcc
--- /dev/null
+++ b/src/enums/net/deleteitemreason.h
@@ -0,0 +1,41 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 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_DELETEITEMREASON_H
+#define ENUMS_NET_DELETEITEMREASON_H
+#ifdef EATHENA_SUPPORT
+
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(DeleteItemReason)
+{
+ Normal = 0,
+ SkillUse = 1,
+ FailRefine = 2,
+ MaterialChange = 3,
+ ToStorage = 4,
+ ToCart = 5,
+ Sold = 6,
+ Analysis = 7
+}
+enumEnd(DeleteItemReason);
+
+#endif // EATHENA_SUPPORT
+#endif // ENUMS_NET_DELETEITEMREASON_H
diff --git a/src/enums/resources/notifytypes.h b/src/enums/resources/notifytypes.h
index d60ada2ce..998e45ae8 100644
--- a/src/enums/resources/notifytypes.h
+++ b/src/enums/resources/notifytypes.h
@@ -204,6 +204,15 @@ namespace NotifyTypes
UNIGNORE_PLAYER_UNKNOWN,
IGNORE_PLAYER_TYPE_UNKNOWN,
PET_CATCH_PROCESS,
+ DELETE_ITEM_NORMAL,
+ DELETE_ITEM_SKILL_USE,
+ DELETE_ITEM_FAIL_REFINE,
+ DELETE_ITEM_MATERIAL_CHANGE,
+ DELETE_ITEM_TO_STORAGE,
+ DELETE_ITEM_TO_CART,
+ DELETE_ITEM_SOLD,
+ DELETE_ITEM_ANALYSIS,
+ DELETE_ITEM_UNKNOWN,
TYPE_END
};