#ifndef HANDSHAKE_HPP #define HANDSHAKE_HPP #ifdef _MSC_VER #pragma once #endif #include "Defs.hpp" #include struct Handshake { Handshake(); Handshake(uint16 id, byte con_code); ~Handshake(); static const std::vector &EncodeHandshake(const Handshake &handshake); static Handshake &DecodeHandshake(const std::vector &bytes); uint16 id; byte con_code; }; #endif