diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-04-08 16:55:26 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-04-08 16:55:26 +0300 |
commit | 799d1d595505acaa7f05a6d92db5f8f2d258f53e (patch) | |
tree | 9a695660aa7b60122a499a3d21511dc6463910e8 /indra/newview/llluamanager.h | |
parent | 3114f674aaef019804803bed50972833f5411f93 (diff) |
Add script termination option to 'Lua Scripts' floater
Diffstat (limited to 'indra/newview/llluamanager.h')
-rw-r--r-- | indra/newview/llluamanager.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llluamanager.h b/indra/newview/llluamanager.h index fe4db22fca..d671719bc4 100644 --- a/indra/newview/llluamanager.h +++ b/indra/newview/llluamanager.h @@ -85,9 +85,12 @@ public: static void runScriptOnLogin(); static const std::map<std::string, std::string> getScriptNames() { return sScriptNames; } + static std::set<std::string> getTerminationList() { return sTerminationList; } + static void terminateScript(std::string& coro_name) { sTerminationList.insert(coro_name); } private: - static std::map<std::string, std::string> sScriptNames; + static std::map<std::string, std::string> sScriptNames; + static std::set<std::string> sTerminationList; }; class LLRequireResolver |