mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
Update TLuaFile.h
This commit is contained in:
parent
9b1bf071a8
commit
6aed93fbf1
@ -20,7 +20,6 @@ class TLuaEngine;
|
||||
|
||||
class TLuaFile {
|
||||
public:
|
||||
void Load();
|
||||
void RegisterEvent(const std::string& Event, const std::string& FunctionName);
|
||||
void UnRegisterEvent(const std::string& Event);
|
||||
void SetLastWrite(fs::file_time_type time);
|
||||
@ -54,6 +53,7 @@ private:
|
||||
std::string mFileName {};
|
||||
bool mStopThread = false;
|
||||
bool mConsole = false;
|
||||
void Load();
|
||||
};
|
||||
|
||||
std::any TriggerLuaEvent(const std::string& Event, bool local, TLuaFile* Caller, std::shared_ptr<TLuaArg> arg, bool Wait);
|
||||
|
Loading…
x
Reference in New Issue
Block a user