2019-10-20 20:05:39 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
|
|
|
|
|
class ClientConnectionData
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
string Host;
|
|
|
|
uint16_t Port;
|
|
|
|
string Password;
|
|
|
|
string PlayerName;
|
|
|
|
bool Spectator;
|
|
|
|
|
2020-12-19 23:30:09 +03:00
|
|
|
ClientConnectionData()
|
|
|
|
{
|
|
|
|
}
|
2019-10-20 20:05:39 -04:00
|
|
|
|
|
|
|
ClientConnectionData(string host, uint16_t port, string password, string playerName, bool spectator) :
|
|
|
|
Host(host), Port(port), Password(password), PlayerName(playerName), Spectator(spectator)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
~ClientConnectionData()
|
|
|
|
{
|
|
|
|
}
|
2020-12-19 23:30:09 +03:00
|
|
|
};
|