mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 13:17:41 +02:00
@ -5,18 +5,17 @@
|
||||
|
||||
#include <tasks/Task.h>
|
||||
|
||||
|
||||
class ServerPingTask : public Task {
|
||||
Q_OBJECT
|
||||
public:
|
||||
public:
|
||||
explicit ServerPingTask(QString domain, int port) : Task(), m_domain(domain), m_port(port) {}
|
||||
~ServerPingTask() override = default;
|
||||
int m_outputOnlinePlayers = -1;
|
||||
|
||||
private:
|
||||
private:
|
||||
QString m_domain;
|
||||
int m_port;
|
||||
|
||||
protected:
|
||||
protected:
|
||||
virtual void executeTask() override;
|
||||
};
|
||||
|
Reference in New Issue
Block a user