mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-01 23:35:41 +00:00
20 lines
385 B
C++
20 lines
385 B
C++
#pragma once
|
|
|
|
#include "commandline/commandline.h"
|
|
#include "TLuaFile.h"
|
|
#include <atomic>
|
|
#include <fstream>
|
|
|
|
class TConsole {
|
|
public:
|
|
TConsole();
|
|
|
|
void Write(const std::string& str);
|
|
void WriteRaw(const std::string& str);
|
|
void InitializeLuaConsole(TLuaEngine& Engine);
|
|
|
|
private:
|
|
std::unique_ptr<TLuaFile> mLuaConsole { nullptr };
|
|
Commandline mCommandline;
|
|
};
|