add lua engine, lua file, server, client, vehicle data, other stuff

This commit is contained in:
Lion Kortlepel
2021-02-15 02:35:15 +01:00
committed by Anonymous275
parent e5e447c7af
commit 459814a6ec
21 changed files with 1538 additions and 15 deletions

18
include/VehicleData.h Normal file
View File

@@ -0,0 +1,18 @@
#pragma once
#include <string>
class TVehicleData final {
public:
TVehicleData(int ID, const std::string& Data);
bool IsInvalid() const { return _ID == -1; }
int ID() const { return _ID; }
std::string Data() const { return _Data; }
void SetData(const std::string& Data) { _Data = Data; }
private:
int _ID { -1 };
std::string _Data;
};