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

This commit is contained in:
Lion Kortlepel authored and Anonymous275 committed 2021-03-18 23:44:14 +02:00
1 parent e5e447c7af
commit 459814a6ec
21 files changed
+1537 -14

No files matched your search

+18
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;
};