MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / GetRemotePlugins

Method GetRemotePlugins

src/openrct2/scripting/ScriptEngine.h:208–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 }
207
208 std::vector<std::shared_ptr<Plugin>> GetRemotePlugins()
209 {
210 std::vector<std::shared_ptr<Plugin>> res;
211 for (const auto& plugin : _plugins)
212 {
213 const auto& metadata = plugin->GetMetadata();
214 if (metadata.Type == PluginType::Remote)
215 {
216 res.push_back(plugin);
217 }
218 }
219 return res;
220 }
221
222 void ClearParkStorage();
223 std::string GetParkStorageAsJSON();

Callers 1

ServerSendScriptsMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected