Merge branch 'master' into issue/2645

# Conflicts:
#	src/documentation/documentationengine.cpp
#	src/properties/propertyowner.cpp
#	src/scripting/scriptengine.cpp
#	src/util/factorymanager.cpp
This commit is contained in:
Ylva Selling
2024-03-25 11:14:09 +01:00
626 changed files with 12773 additions and 9245 deletions
+4 -2
View File
@@ -83,7 +83,8 @@ public:
void addLibrary(LuaLibrary library);
bool hasLibrary(const std::string& name);
bool runScript(const std::string& script, ScriptCallback callback = ScriptCallback());
bool runScript(const std::string& script,
const ScriptCallback& callback = ScriptCallback());
bool runScriptFile(const std::filesystem::path& filename);
virtual void preSync(bool isMaster) override;
@@ -92,7 +93,8 @@ public:
virtual void postSync(bool isMaster) override;
void queueScript(std::string script, ShouldBeSynchronized shouldBeSynchronized,
ShouldSendToRemote shouldSendToRemote, ScriptCallback cb = ScriptCallback());
ShouldSendToRemote shouldSendToRemote,
ScriptCallback callback = ScriptCallback());
std::vector<std::string> allLuaFunctions() const;
const std::vector<LuaLibrary>& allLuaLibraries() const;