[General] Delete invalid & redundant code

coverity_scan^2
Koncord 8 years ago
parent 0d6636018f
commit e3f4c63ea6

@ -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;

@ -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;

Loading…
Cancel
Save