diff --git a/components/openmw-mp/Packets/Player/PlayerPacket.hpp b/components/openmw-mp/Packets/Player/PlayerPacket.hpp index da0105cce..8d573d74e 100644 --- a/components/openmw-mp/Packets/Player/PlayerPacket.hpp +++ b/components/openmw-mp/Packets/Player/PlayerPacket.hpp @@ -25,16 +25,6 @@ namespace mwmp virtual void Send(BasePlayer *player, RakNet::AddressOrGUID destination); virtual void Read(BasePlayer *player); - static size_t headerSize() - { - return (size_t)(1 + RakNet::RakNetGUID::size()); // packetID + RakNetGUID (uint64_t) - } - - unsigned char GetPacketID() - { - return packetID; - } - protected: BasePlayer *player; diff --git a/components/openmw-mp/Packets/World/WorldPacket.hpp b/components/openmw-mp/Packets/World/WorldPacket.hpp index 727ec3de3..71b6a3e37 100644 --- a/components/openmw-mp/Packets/World/WorldPacket.hpp +++ b/components/openmw-mp/Packets/World/WorldPacket.hpp @@ -25,16 +25,6 @@ namespace mwmp virtual void Send(BaseEvent *event, RakNet::AddressOrGUID destination); virtual void Read(BaseEvent *event); - static size_t headerSize() - { - return (size_t)(1 + RakNet::RakNetGUID::size()); // packetID + RakNetGUID (uint64_t) - } - - unsigned char GetPacketID() - { - return packetID; - } - protected: BaseEvent *event;