1
0

Gave names to unnamed enums

This commit is contained in:
archshift 2014-08-02 22:56:08 -07:00
parent dba6723611
commit 92f67789fc
4 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,7 @@ public:
/** Individual enchantment IDs, corresponding to their NBT IDs: http://www.minecraftwiki.net/wiki/Data_Values#Enchantment_IDs /** Individual enchantment IDs, corresponding to their NBT IDs: http://www.minecraftwiki.net/wiki/Data_Values#Enchantment_IDs
*/ */
enum enum eEnchantment
{ {
enchProtection = 0, enchProtection = 0,
enchFireProtection = 1, enchFireProtection = 1,

View File

@ -18,7 +18,7 @@
class cHTTPMessage class cHTTPMessage
{ {
public: public:
enum enum eStatus
{ {
HTTP_OK = 200, HTTP_OK = 200,
HTTP_BAD_REQUEST = 400, HTTP_BAD_REQUEST = 400,

View File

@ -39,8 +39,8 @@ public:
enum enum
{ {
invArmorCount = 4, invArmorCount = 4,
invInventoryCount = 9 * 3, invInventoryCount = 9 * 3,
invHotbarCount = 9, invHotbarCount = 9,
invArmorOffset = 0, invArmorOffset = 0,
invInventoryOffset = invArmorOffset + invArmorCount, invInventoryOffset = invArmorOffset + invArmorCount,

View File

@ -103,7 +103,7 @@ public:
protected: protected:
/// Results of packet-parsing: /// Results of packet-parsing:
enum enum eParseResult
{ {
PARSE_OK = 1, PARSE_OK = 1,
PARSE_ERROR = -1, PARSE_ERROR = -1,