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
|
/** 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,
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user