mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 19:49:54 +00:00
27148ce9eb
Additionally, make it slightly clearer who created which previously existing packets.
24 lines
549 B
C++
24 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
|