mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-01 07:25:34 +00:00
- version change 3.0
- protocol version 2.0
This commit is contained in:
parent
84111d36c1
commit
d545bd7078
@ -55,6 +55,7 @@ class Launcher {
|
||||
const std::string& getPublicKey();
|
||||
const std::string& getUserRole();
|
||||
const std::string& getVersion();
|
||||
const std::string& getProtocolVersion();
|
||||
static bool getExit() noexcept;
|
||||
|
||||
private: // functions
|
||||
@ -72,8 +73,9 @@ class Launcher {
|
||||
|
||||
public: // variables
|
||||
static inline std::thread EntryThread{};
|
||||
static inline std::string Version{"2.1"};
|
||||
static inline std::string FullVersion{Version + ".1"};
|
||||
static inline std::string Version{"3.0"};
|
||||
static inline std::string FullVersion{Version + ".0"};
|
||||
static inline std::string ProtocolVersion{"2.0"};
|
||||
|
||||
private: // variables
|
||||
uint32_t GamePID{0};
|
||||
|
@ -276,6 +276,10 @@ const std::string& Launcher::getFullVersion() {
|
||||
return FullVersion;
|
||||
}
|
||||
|
||||
const std::string& Launcher::getProtocolVersion() {
|
||||
return ProtocolVersion;
|
||||
}
|
||||
|
||||
const std::string& Launcher::getVersion() {
|
||||
return Version;
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ void Server::Abort() {
|
||||
}
|
||||
|
||||
std::string Server::Auth() {
|
||||
TCPSend("VC" + LauncherInstance->getVersion());
|
||||
TCPSend("VC" + LauncherInstance->getProtocolVersion());
|
||||
|
||||
auto Res = TCPRcv();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user