You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3coop/components/openmw-mp/Packets/Player/PacketHandshake.hpp

25 lines
535 B
C++

//
// Created by koncord on 28.04.16.
//
#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