#ifndef INFOCOMMUNICATE_HPP #define INFOCOMMUNICATE_HPP #include #include #include enum MessageType { MSG_TYPE_ASK_CLIENTS = 1, }; struct InfoCommunicate { MessageType type; std::string toID; std::string UUID; std::string data; char mark{}; template void serialize(Archive& archive) { archive(CEREAL_NVP(type), CEREAL_NVP(toID), CEREAL_NVP(UUID), CEREAL_NVP(data), CEREAL_NVP(mark)); } }; #endif // INFOCOMMUNICATE_HPP