mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix issues detected by Sonar
This commit is contained in:
@@ -65,13 +65,13 @@ public:
|
||||
|
||||
void loadScriptFromFile(const std::string & path);
|
||||
void loadScript(const JsonNode & scriptConfig);
|
||||
void loadScript(ModulePtr module, const std::string & scriptSource);
|
||||
void loadScript(ModulePtr module, const std::vector<std::string> & scriptSource);
|
||||
void loadScript(ModulePtr modulePtr, const std::string & scriptSource);
|
||||
void loadScript(ModulePtr modulePtr, const std::vector<std::string> & scriptSource);
|
||||
|
||||
JsonNode runClientServer(const JsonNode & scriptState = JsonNode());
|
||||
JsonNode runServer(const JsonNode & scriptState = JsonNode());
|
||||
|
||||
JsonNode runScript(ModulePtr module, const std::string & scriptSource, const JsonNode & scriptState = JsonNode());
|
||||
JsonNode runScript(ModulePtr modulePtr, const std::string & scriptSource, const JsonNode & scriptState = JsonNode());
|
||||
|
||||
protected:
|
||||
void setUp();
|
||||
|
||||
Reference in New Issue
Block a user