- add hash check
- new routes for updates
- use C++ 20
This commit is contained in:
Anonymous275
2023-12-15 18:16:12 +00:00
parent c731718f50
commit 3b479abf64
6 changed files with 4741 additions and 44 deletions

View File

@@ -7,6 +7,9 @@
///
#pragma once
#include <string>
#include <compare>
#include <vector>
void InitLauncher(int argc, char* argv[]);
std::string GetEP(char*P = nullptr);
std::string GetGamePath();
@@ -14,4 +17,12 @@ std::string GetVer();
std::string GetEN();
void StartProxy();
void ConfigInit();
extern bool Dev;
extern bool Dev;
struct VersionParser {
explicit VersionParser(const std::string& from_string);
std::strong_ordering operator<=>(VersionParser const& rhs) const noexcept;
bool operator==(VersionParser const& rhs) const noexcept;
std::vector<std::string> split;
std::vector<size_t> data;
};

4642
include/hashpp.h Normal file

File diff suppressed because it is too large Load Diff