MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / setup

Function setup

lib/variables/variable.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19static std::chrono::high_resolution_clock::time_point lastVariableChange{};
20
21static bool setup()
22{
23 AddEarlySaveStep(SaveVariables);
24 AddEarlyLoadStep(LoadVariables);
25 AddPluginCleanupStep([]() { variables.clear(); });
26 return true;
27}
28static bool setupDone = setup();
29
30static void setLastVariableChangeTime()

Callers 1

variable.cppFile · 0.70

Calls 3

AddEarlySaveStepFunction · 0.50
AddEarlyLoadStepFunction · 0.50
AddPluginCleanupStepFunction · 0.50

Tested by

no test coverage detected