2017-01-20 08:36:52 -05:00
|
|
|
#pragma once
|
|
|
|
|
2017-01-19 16:23:59 -05:00
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class Discovery : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Discovery();
|
|
|
|
|
2017-01-23 16:06:50 -05:00
|
|
|
void preDestroy() override;
|
|
|
|
|
2017-01-19 16:23:59 -05:00
|
|
|
static void Perform();
|
|
|
|
|
|
|
|
private:
|
|
|
|
static bool IsTerminating;
|
|
|
|
static bool IsPerforming;
|
|
|
|
static std::thread Thread;
|
|
|
|
static std::string Challenge;
|
2022-12-18 16:47:59 -05:00
|
|
|
|
|
|
|
static Dvar::Var NetDiscoveryPortRangeMin;
|
|
|
|
static Dvar::Var NetDiscoveryPortRangeMax;
|
2017-01-19 16:23:59 -05:00
|
|
|
};
|
|
|
|
}
|