Lua: Add GetPluginName, GetPluginPath

This commit is contained in:
Lion Kortlepel committed 2021-09-09 12:15:57 +03:00
1 parent 6462636b29
commit 2a96546c8c
2 files changed
+42 -6

No files matched your search

+7 -6
View File
@@ -37,12 +37,13 @@ public:
~TLuaFile();
void SetStopThread(bool StopThread) { mStopThread = StopThread; }
TLuaEngine& Engine() { return mEngine; }
[[nodiscard]] std::string GetPluginName() const;
[[nodiscard]] std::string GetFileName() const;
[[nodiscard]] const lua_State* GetState() const;
[[nodiscard]] bool GetStopThread() const { return mStopThread; }
[[nodiscard]] const TLuaEngine& Engine() const { return mEngine; }
[[nodiscard]] std::string GetRegistered(const std::string& Event) const;
std::string GetPluginPath() const;
std::string GetPluginName() const;
std::string GetFileName() const;
const lua_State* GetState() const;
bool GetStopThread() const { return mStopThread; }
const TLuaEngine& Engine() const { return mEngine; }
std::string GetRegistered(const std::string& Event) const;
private:
TLuaEngine& mEngine;