mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-14 19:56:17 +00:00
added json header and fixed static linking
This commit is contained in:
10
include/Json.h
Normal file
10
include/Json.h
Normal file
@@ -0,0 +1,10 @@
|
||||
///
|
||||
/// Created by Anonymous275 on 1/16/22
|
||||
/// Copyright (c) 2021-present Anonymous275 read the LICENSE file for more info.
|
||||
///
|
||||
|
||||
#pragma once
|
||||
#include <rapidjson/stringbuffer.h>
|
||||
#include <rapidjson/document.h>
|
||||
#include <rapidjson/writer.h>
|
||||
namespace Json = rapidjson;
|
||||
@@ -9,12 +9,12 @@
|
||||
class Launcher {
|
||||
public:
|
||||
Launcher(int argc, char* argv[]);
|
||||
const std::string& getFullVersion(){return FullVersion;}
|
||||
const std::string& getWorkingDir(){return DirPath;}
|
||||
const std::string& getVersion(){return Version;}
|
||||
const std::string& getFullVersion(){return FullVersion;}
|
||||
void launchGame();
|
||||
private:
|
||||
void WindowsInit();
|
||||
|
||||
private:
|
||||
std::string DirPath;
|
||||
std::string Version{"3.0"};
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
///
|
||||
|
||||
#pragma once
|
||||
#define ELPP_NO_DEFAULT_LOG_FILE
|
||||
#include "easylogging++.h"
|
||||
|
||||
class Log {
|
||||
|
||||
Reference in New Issue
Block a user