MCPcopy Create free account
hub / github.com/OpenMW/openmw / setAutoStartConf

Method setAutoStartConf

components/lua/scriptscontainer.hpp:123–123  ·  view source on GitHub ↗

`conf` specifies the list of scripts that should be autostarted in this container; the script names themselves are stored in ScriptsConfiguration.

Source from the content-addressed store, hash-verified

121 // `conf` specifies the list of scripts that should be autostarted in this container; the script
122 // names themselves are stored in ScriptsConfiguration.
123 void setAutoStartConf(ScriptIdsWithInitializationData conf) { mAutoStartScripts = std::move(conf); }
124 const ScriptIdsWithInitializationData& getAutoStartConf() const { return mAutoStartScripts; }
125
126 // Adds package that will be available (via `require`) for all scripts in the container.

Callers 4

TEST_FFunction · 0.80
initConfigurationMethod · 0.80
contentFilesLoadedMethod · 0.80
createLocalScriptsMethod · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64