iw4x-client/src/Components/Modules/Discovery.hpp

22 lines
368 B
C++
Raw Normal View History

namespace Components
{
class Discovery : public Component
{
public:
Discovery();
~Discovery();
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
const char* getName() { return "Discovery"; };
#endif
static void Perform();
private:
static bool IsTerminating;
static bool IsPerforming;
static std::thread Thread;
static std::string Challenge;
};
}