diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-24 23:09:01 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-24 23:09:01 +0100 |
commit | b4ac9d702bcf958c7a658e7204306734e68058ad (patch) | |
tree | a813d6de18d6a331112846642d0bb5b2137d6259 /source/Protocol/ProtocolRecognizer.h | |
parent | Added Netherbrick slab (patch contributed by STR_Warrior) (diff) | |
download | cuberite-b4ac9d702bcf958c7a658e7204306734e68058ad.tar cuberite-b4ac9d702bcf958c7a658e7204306734e68058ad.tar.gz cuberite-b4ac9d702bcf958c7a658e7204306734e68058ad.tar.bz2 cuberite-b4ac9d702bcf958c7a658e7204306734e68058ad.tar.lz cuberite-b4ac9d702bcf958c7a658e7204306734e68058ad.tar.xz cuberite-b4ac9d702bcf958c7a658e7204306734e68058ad.tar.zst cuberite-b4ac9d702bcf958c7a658e7204306734e68058ad.zip |
Diffstat (limited to 'source/Protocol/ProtocolRecognizer.h')
-rw-r--r-- | source/Protocol/ProtocolRecognizer.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/Protocol/ProtocolRecognizer.h b/source/Protocol/ProtocolRecognizer.h index d41e20f44..fce5c0ba4 100644 --- a/source/Protocol/ProtocolRecognizer.h +++ b/source/Protocol/ProtocolRecognizer.h @@ -18,8 +18,8 @@ // Adjust these if a new protocol is added or an old one is removed:
-#define MCS_CLIENT_VERSIONS "1.2.4, 1.2.5, 1.3.1, 1.3.2, 1.4.2, 1.4.4"
-#define MCS_PROTOCOL_VERSIONS "29, 39, 47, 49"
+#define MCS_CLIENT_VERSIONS "1.2.4, 1.2.5, 1.3.1, 1.3.2, 1.4.2, 1.4.4, 1.4.5, 1.4.6"
+#define MCS_PROTOCOL_VERSIONS "29, 39, 47, 49, 51"
@@ -37,8 +37,9 @@ public: PROTO_VERSION_1_3_2 = 39,
PROTO_VERSION_1_4_2 = 47,
PROTO_VERSION_1_4_4 = 49,
+ PROTO_VERSION_1_4_6 = 51,
- PROTO_VERSION_LATEST = PROTO_VERSION_1_4_4, // Keep this up to date, this serves as the default for PrimaryServerVersion
+ PROTO_VERSION_LATEST = PROTO_VERSION_1_4_6, // Keep this up to date, this serves as the default for PrimaryServerVersion
} ;
cProtocolRecognizer(cClientHandle * a_Client);
@@ -83,7 +84,7 @@ public: virtual void SendSoundEffect (const AString & a_SoundName, int a_SrcX, int a_SrcY, int a_SrcZ, float a_Volume, float a_Pitch) override;
virtual void SendSoundParticleEffect(int a_EffectID, int a_SrcX, int a_SrcY, int a_SrcZ, int a_Data) override;
virtual void SendSpawnMob (const cMonster & a_Mob) override;
- virtual void SendSpawnObject (const cEntity & a_Entity, char a_ObjectType, int a_ObjectData, short a_SpeedX, short a_SpeedY, short a_SpeedZ) override;
+ virtual void SendSpawnObject (const cEntity & a_Entity, char a_ObjectType, int a_ObjectData, short a_SpeedX, short a_SpeedY, short a_SpeedZ, Byte a_Yaw, Byte a_Pitch) override;
virtual void SendTeleportEntity (const cEntity & a_Entity) override;
virtual void SendThunderbolt (int a_BlockX, int a_BlockY, int a_BlockZ) override;
virtual void SendTimeUpdate (Int64 a_WorldAge, Int64 a_TimeOfDay) override;
|