#include #include "PacketDoorState.hpp" using namespace mwmp; PacketDoorState::PacketDoorState(RakNet::RakPeerInterface *peer) : ObjectPacket(peer) { packetID = ID_DOOR_STATE; hasCellData = true; } void PacketDoorState::Object(BaseObject &baseObject, bool send) { ObjectPacket::Object(baseObject, send); RW(baseObject.doorState, send); }