1
0
cuberite-2a/src/Protocol
peterbell10 a4dbb5c582
Prefer static_cast to reinterpret_cast (#4223)
* Change reinterpret_cast -> static_cast wherever possible
* Remove more unnecessary `const_cast`s.

reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
2018-05-02 08:50:36 +01:00
..
Authenticator.cpp Update mbedtls to 2.5.1 (#3964) 2017-08-30 15:00:06 +01:00
Authenticator.h Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
ChunkDataSerializer.cpp Implement protocol level chunk sparsing (#3864) 2017-08-21 17:56:53 +01:00
ChunkDataSerializer.h Implement protocol level chunk sparsing (#3864) 2017-08-21 17:56:53 +01:00
CMakeLists.txt Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
ForgeHandshake.cpp Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
ForgeHandshake.h Implement Forge protocol handshake support (#3869) 2017-08-27 23:10:20 +02:00
MojangAPI.cpp Removed UTF-8 BOM (#4033) 2017-09-19 10:34:08 +02:00
MojangAPI.h Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
PacketID.cpp Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
Packetizer.cpp Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
Packetizer.h Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
Protocol_1_8.cpp Prefer static_cast to reinterpret_cast (#4223) 2018-05-02 08:50:36 +01:00
Protocol_1_8.h Added assert to cProtocolRecognizer::GetPacketId. (#4001) 2017-09-04 16:58:38 +01:00
Protocol_1_9.cpp Prefer static_cast to reinterpret_cast (#4223) 2018-05-02 08:50:36 +01:00
Protocol_1_9.h Rewrite cClientHandle::HandleRightClick (#4089) 2018-01-08 13:37:10 +00:00
Protocol_1_10.cpp Prefer static_cast to reinterpret_cast (#4223) 2018-05-02 08:50:36 +01:00
Protocol_1_10.h Added WriteBlockEntity to 1.10 and 1.11 and fixed mob spawner 2017-06-09 12:16:44 +02:00
Protocol_1_11.cpp Prefer static_cast to reinterpret_cast (#4223) 2018-05-02 08:50:36 +01:00
Protocol_1_11.h Added WriteBlockEntity to 1.10 and 1.11 and fixed mob spawner 2017-06-09 12:16:44 +02:00
Protocol_1_12.cpp Prefer static_cast to reinterpret_cast (#4223) 2018-05-02 08:50:36 +01:00
Protocol_1_12.h Add support for release 1.12.2 (#4041) 2017-09-21 14:12:43 +01:00
Protocol.h Added assert to cProtocolRecognizer::GetPacketId. (#4001) 2017-09-04 16:58:38 +01:00
ProtocolRecognizer.cpp Add support for release 1.12.2 (#4041) 2017-09-21 14:12:43 +01:00
ProtocolRecognizer.h Add support for release 1.12.2 (#4041) 2017-09-21 14:12:43 +01:00