mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2025-08-18 07:55:37 +00:00
Update TLuaFile.h
This commit is contained in:
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user