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

Method Resolve

lib/variables/variable-string.cpp:6–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4namespace advss {
5
6void StringVariable::Resolve() const
7{
8 if (GetVariables().empty()) {
9 _resolvedValue = _value;
10 return;
11 }
12 const auto lastChange = GetLastVariableChangeTime();
13 if (_lastResolve == lastChange) {
14 return;
15 }
16 _resolvedValue = SubstitueVariables(_value);
17 _lastResolve = lastChange;
18}
19
20StringVariable::operator std::string() const
21{

Callers

nothing calls this directly

Calls 3

SubstitueVariablesFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected