You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/components/openmw-mp/Packets/Player/PacketDisconnect.hpp

25 lines
549 B
C++

//
// Created by koncord on 12.01.16.
//
#ifndef OPENMW_PACKETDISCONNECT_HPP
#define OPENMW_PACKETDISCONNECT_HPP
#include <components/openmw-mp/Packets/Player/PlayerPacket.hpp>
#include <components/openmw-mp/NetworkMessages.hpp>
namespace mwmp
{
class PacketDisconnect : public PlayerPacket
{
public:
PacketDisconnect(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
{
packetID = ID_USER_DISCONNECTED;
orderChannel = CHANNEL_SYSTEM;
}
};
}
#endif //OPENMW_PACKETDISCONNECT_HPP