2016-01-12 03:41:44 +00:00
|
|
|
//
|
|
|
|
// Created by koncord on 12.01.16.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef OPENMW_PACKETDISCONNECT_HPP
|
|
|
|
#define OPENMW_PACKETDISCONNECT_HPP
|
|
|
|
|
2016-10-19 16:37:10 +00:00
|
|
|
#include <components/openmw-mp/Packets/Player/PlayerPacket.hpp>
|
2016-01-12 03:41:44 +00:00
|
|
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
2016-10-17 12:54:36 +00:00
|
|
|
class PacketDisconnect : public PlayerPacket
|
2016-01-12 03:41:44 +00:00
|
|
|
{
|
|
|
|
public:
|
2016-10-17 12:54:36 +00:00
|
|
|
PacketDisconnect(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
|
2016-01-12 03:41:44 +00:00
|
|
|
{
|
|
|
|
packetID = ID_USER_DISCONNECTED;
|
2017-05-08 16:38:48 +00:00
|
|
|
orderChannel = CHANNEL_SYSTEM;
|
2016-01-12 03:41:44 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_PACKETDISCONNECT_HPP
|