Update TLuaFile.h

This commit is contained in:
Anonymous275 authored and Anonymous275 committed 2021-03-18 23:44:14 +02:00
1 parent 9b1bf071a8
commit 6aed93fbf1
1 file changed
+1 -1
+1 -1
View File
@@ -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);