mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 04:15:31 +00:00
20 lines
493 B
C++
20 lines
493 B
C++
#ifndef OPENMW_PACKETHANDSHAKE_HPP
|
|
#define OPENMW_PACKETHANDSHAKE_HPP
|
|
|
|
#include <components/openmw-mp/Packets/Player/PlayerPacket.hpp>
|
|
|
|
namespace mwmp
|
|
{
|
|
class PacketHandshake : public PlayerPacket
|
|
{
|
|
public:
|
|
PacketHandshake(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_PACKETHANDSHAKE_HPP
|