mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
moved constructor to header.
This commit is contained in:
parent
65e5a8d756
commit
243756ee2b
@ -5,13 +5,16 @@
|
||||
class ServerListing
|
||||
{
|
||||
public:
|
||||
ServerListing(std::string name, std::string map, std::string ip, std::string version) : name(name), map(map), ip(ip), version(version)
|
||||
{
|
||||
// for future constructor use.
|
||||
}
|
||||
|
||||
void Select();
|
||||
|
||||
std::string name;
|
||||
std::string map;
|
||||
std::string ip;
|
||||
std::string version;
|
||||
|
||||
ServerListing(std::string name, std::string map, std::string ip, std::string version);
|
||||
void Select();
|
||||
};
|
||||
|
||||
|
@ -2,14 +2,6 @@
|
||||
#include "overlay.h"
|
||||
#include "httplib.h"
|
||||
|
||||
ServerListing::ServerListing(std::string name, std::string map, std::string ip, std::string version)
|
||||
{
|
||||
this->name = name;
|
||||
this->map = map;
|
||||
this->ip = ip;
|
||||
this->version = version;
|
||||
}
|
||||
|
||||
void ServerListing::Select()
|
||||
{
|
||||
std::stringstream cmd;
|
||||
|
Loading…
x
Reference in New Issue
Block a user