Gave names to unnamed enums
This commit is contained in:
parent
dba6723611
commit
92f67789fc
@ -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,
|
||||
|
@ -18,7 +18,7 @@
|
||||
class cHTTPMessage
|
||||
{
|
||||
public:
|
||||
enum
|
||||
enum eStatus
|
||||
{
|
||||
HTTP_OK = 200,
|
||||
HTTP_BAD_REQUEST = 400,
|
||||
|
@ -39,8 +39,8 @@ public:
|
||||
enum
|
||||
{
|
||||
invArmorCount = 4,
|
||||
invInventoryCount = 9 * 3,
|
||||
invHotbarCount = 9,
|
||||
invInventoryCount = 9 * 3,
|
||||
invHotbarCount = 9,
|
||||
|
||||
invArmorOffset = 0,
|
||||
invInventoryOffset = invArmorOffset + invArmorCount,
|
||||
|
@ -103,7 +103,7 @@ public:
|
||||
|
||||
protected:
|
||||
/// Results of packet-parsing:
|
||||
enum
|
||||
enum eParseResult
|
||||
{
|
||||
PARSE_OK = 1,
|
||||
PARSE_ERROR = -1,
|
||||
|
Loading…
Reference in New Issue
Block a user