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

Function WritePlugin

src/openrct2/config/Config.cpp:645–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643 }
644
645 static void WritePlugin(IIniWriter* writer)
646 {
647 auto model = &_config.plugin;
648 writer->WriteSection("plugin");
649 writer->WriteBoolean("enable_hot_reloading", model->enableHotReloading);
650 writer->WriteString("allowed_hosts", model->allowedHosts);
651 }
652
653 bool SetDefaults()
654 {

Callers 1

WriteFileFunction · 0.85

Calls 3

WriteSectionMethod · 0.80
WriteBooleanMethod · 0.80
WriteStringMethod · 0.45

Tested by

no test coverage detected