From 5e8e53f6e795a84ab5ca6cfe0d08672878044707 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Nov 2015 22:17:15 +0300 Subject: Convert InventoryType enum into strong typed. --- src/enums/inventorytype.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/enums') diff --git a/src/enums/inventorytype.h b/src/enums/inventorytype.h index fe24864d3..cd4ff4732 100644 --- a/src/enums/inventorytype.h +++ b/src/enums/inventorytype.h @@ -23,21 +23,21 @@ #ifndef ENUMS_INVENTORYTYPE_H #define ENUMS_INVENTORYTYPE_H -namespace InventoryType +#include "enums/simpletypes/enumdefines.h" + +enumStart(InventoryType) { - enum Type - { - INVENTORY = 0, - STORAGE, - TRADE, - NPC, + Inventory = 0, + Storage, + Trade, + Npc, #ifdef EATHENA_SUPPORT - CART, - VENDING, - MAIL, + Cart, + Vending, + Mail, #endif - TYPE_END - }; -} // namespace InventoryType + TypeEnd +} +enumEnd(InventoryType); #endif // ENUMS_INVENTORYTYPE_H -- cgit v1.2.3-70-g09d2