fix predictpacket serialization

This commit is contained in:
2025-07-31 15:07:34 +02:00
parent 02d872c49b
commit c8159bae6e
6 changed files with 10 additions and 36 deletions

View File

@@ -2,20 +2,6 @@
#include <td/protocol/packet/PacketData.h>
namespace sp {
class DataBuffer;
// temp
template <>
void ReadMessage(DataBuffer& a_Buffer, td::protocol::pdata::PredictCommand& a_Header);
template <>
DataBuffer WriteMessage(const td::protocol::pdata::PredictCommand& a_Header);
} // namespace sp
namespace td {
template <typename T>
@@ -49,7 +35,6 @@ sp::DataBuffer& operator>>(sp::DataBuffer& a_Buffer, Vec4<T>& a_Vec) {
return a_Buffer >> a_Vec.x >> a_Vec.y >> a_Vec.z >> a_Vec.w;
}
namespace game {
sp::DataBuffer& operator<<(sp::DataBuffer& a_Buffer, const TeamCastle& a_Castle);