| 101 | } |
| 102 | |
| 103 | void MacroSegmentScript::SetTempVarValue(const std::string &variableId, |
| 104 | const std::string &value, |
| 105 | int instanceId) |
| 106 | { |
| 107 | std::lock_guard<std::mutex> lock(instanceMtx); |
| 108 | for (auto instance : instances) { |
| 109 | if (instance->_instanceId != instanceId) { |
| 110 | continue; |
| 111 | } |
| 112 | instance->SetTempVarValueHelper(variableId, value); |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | bool MacroSegmentScript::Save(obs_data_t *obj) const |
| 117 | { |
nothing calls this directly
no test coverage detected