summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-08-20 22:34:46 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-21 01:53:09 +0200
commit82d251b71be3091575a86e507fa4f587af4d4330 (patch)
treec0d6142859da36f424eef1ddb6aaa350c80ba4c7 /src/Protocol/Protocol.h
parentRemove complex templated SendBlockChange (diff)
downloadcuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.gz
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.bz2
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.lz
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.xz
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.zst
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h
index 1b2e74d7c..2456ac976 100644
--- a/src/Protocol/Protocol.h
+++ b/src/Protocol/Protocol.h
@@ -139,7 +139,7 @@ public:
pktWindowProperty
};
- enum class eEntityMetadata
+ enum class EntityMetadata
{
EntityFlags,
EntityAir,
@@ -303,7 +303,7 @@ public:
TNTPrimedFuseTime
};
- enum class eEntityMetadataType
+ enum class EntityMetadataType
{
Byte,
VarInt,
@@ -328,21 +328,21 @@ public:
enum class Version
{
- Version_1_8_0 = 47,
- Version_1_9_0 = 107,
- Version_1_9_1 = 108,
- Version_1_9_2 = 109,
- Version_1_9_4 = 110,
- Version_1_10_0 = 210,
- Version_1_11_0 = 315,
- Version_1_11_1 = 316,
- Version_1_12 = 335,
- Version_1_12_1 = 338,
- Version_1_12_2 = 340,
- Version_1_13 = 393,
- Version_1_13_1 = 401,
- Version_1_13_2 = 404, // TODO: this constant should be in WebServer
- Version_1_14 = 477
+ v1_8_0 = 47,
+ v1_9_0 = 107,
+ v1_9_1 = 108,
+ v1_9_2 = 109,
+ v1_9_4 = 110,
+ v1_10_0 = 210,
+ v1_11_0 = 315,
+ v1_11_1 = 316,
+ v1_12 = 335,
+ v1_12_1 = 338,
+ v1_12_2 = 340,
+ v1_13 = 393,
+ v1_13_1 = 401,
+ v1_13_2 = 404, // TODO: this constant should be in WebServer
+ v1_14 = 477
};
/** Called when client sends some data */