mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 02:19:55 +00:00
25 lines
494 B
C++
25 lines
494 B
C++
|
//
|
||
|
// Created by koncord on 12.01.16.
|
||
|
//
|
||
|
|
||
|
#ifndef OPENMW_PACKETDISCONNECT_HPP
|
||
|
#define OPENMW_PACKETDISCONNECT_HPP
|
||
|
|
||
|
#include <components/openmw-mp/Packets/BasePacket.hpp>
|
||
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
||
|
|
||
|
namespace mwmp
|
||
|
{
|
||
|
class PacketDisconnect : public BasePacket
|
||
|
{
|
||
|
public:
|
||
|
PacketDisconnect(RakNet::RakPeerInterface *peer) : BasePacket(peer)
|
||
|
{
|
||
|
packetID = ID_USER_DISCONNECTED;
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
|
||
|
#endif //OPENMW_PACKETDISCONNECT_HPP
|