mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-24 08:23:52 +00:00
21 lines
523 B
C++
21 lines
523 B
C++
|
#ifndef OPENMW_PACKETSYSTEMHANDSHAKE_HPP
|
||
|
#define OPENMW_PACKETSYSTEMHANDSHAKE_HPP
|
||
|
|
||
|
#include <components/openmw-mp/Packets/System/SystemPacket.hpp>
|
||
|
|
||
|
namespace mwmp
|
||
|
{
|
||
|
class PacketSystemHandshake : public SystemPacket
|
||
|
{
|
||
|
public:
|
||
|
PacketSystemHandshake(RakNet::RakPeerInterface *peer);
|
||
|
|
||
|
virtual void Packet(RakNet::BitStream *bs, bool send);
|
||
|
|
||
|
const static uint32_t maxNameLength = 256;
|
||
|
const static uint32_t maxPasswordLength = 256;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif //OPENMW_PACKETSYSTEMHANDSHAKE_HPP
|