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

Method Save

lib/macro/macro-condition-queue.cpp:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46bool MacroConditionQueue::Save(obs_data_t *obj) const
47{
48 MacroCondition::Save(obj);
49 obs_data_set_int(obj, "condition", static_cast<int>(_condition));
50 obs_data_set_string(obj, "queue", GetActionQueueName(_queue).c_str());
51 _size.Save(obj, "size");
52 return true;
53}
54
55bool MacroConditionQueue::Load(obs_data_t *obj)
56{

Callers

nothing calls this directly

Calls 2

GetActionQueueNameFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected