1
0
Fork 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
*/
enum
enum eEnchantment
{
enchProtection = 0,
enchFireProtection = 1,

View File

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

View File

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

View File

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