1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 22:49:55 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Player/PacketDisconnect.hpp

25 lines
549 B
C++
Raw Normal View History

//
// 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
{
2016-10-17 12:54:36 +00:00
class PacketDisconnect : public PlayerPacket
{
public:
2016-10-17 12:54:36 +00:00
PacketDisconnect(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
{
packetID = ID_USER_DISCONNECTED;
orderChannel = CHANNEL_SYSTEM;
}
};
}
#endif //OPENMW_PACKETDISCONNECT_HPP