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