Added HTTP logic and login

This commit is contained in:
Anonymous275
2022-01-17 18:20:57 +02:00
parent b074ff5448
commit f110ef2bc8
10 changed files with 302 additions and 9 deletions

View File

@@ -24,4 +24,22 @@ void Launcher::launchGame() {
void Launcher::WindowsInit() {
system("cls");
SetConsoleTitleA(("BeamMP Launcher v" + FullVersion).c_str());
}
}
const std::string& Launcher::getFullVersion() {
return FullVersion;
}
const std::string& Launcher::getWorkingDir() {
return DirPath;
}
const std::string &Launcher::getVersion() {
return Version;
}
const std::string& Launcher::getUserRole() {
return UserRole;
}