mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +03:00
* Initial commit.
:)
This commit is contained in:
17
source/Network/Packets/RemoveEntityPacket.cpp
Normal file
17
source/Network/Packets/RemoveEntityPacket.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "Packet.hpp"
|
||||
|
||||
void RemoveEntityPacket::handle(const RakNet::RakNetGUID& guid, NetEventCallback* pCallback)
|
||||
{
|
||||
pCallback->handle(guid, this);
|
||||
}
|
||||
|
||||
void RemoveEntityPacket::write(RakNet::BitStream* bs)
|
||||
{
|
||||
bs->Write(PACKET_REMOVE_ENTITY);
|
||||
bs->Write(m_id);
|
||||
}
|
||||
|
||||
void RemoveEntityPacket::read(RakNet::BitStream* bs)
|
||||
{
|
||||
bs->Read(m_id);
|
||||
}
|
||||
Reference in New Issue
Block a user