#ifndef PlayerDefinition_h__ #define PlayerDefinition_h__ #include #include "../Core/Entity.h" #include struct PlayerDefinition { ::EntityID EntityID = EntityID_Invalid; std::string Name = ""; boost::asio::ip::udp::endpoint Endpoint; unsigned int PacketID; std::clock_t StopTime; boost::asio::ip::address TCPAddress; unsigned short TCPPort; // use for tcp connections boost::shared_ptr TCPSocket; int PacketGroup = 1; }; #endif