----------------------------------------------------------------------------- Add a bool ValueID/value pair to the scene -----------------------------------------------------------------------------
| 4612 | // Add a bool ValueID/value pair to the scene |
| 4613 | //----------------------------------------------------------------------------- |
| 4614 | bool Manager::AddSceneValue |
| 4615 | ( |
| 4616 | uint8 const _sceneId, |
| 4617 | ValueID const& _valueId, |
| 4618 | bool const _value |
| 4619 | ) |
| 4620 | { |
| 4621 | Scene *scene = Scene::Get( _sceneId ); |
| 4622 | if( scene != NULL ) |
| 4623 | { |
| 4624 | return scene->AddValue( _valueId, _value ? "True" : "False"); |
| 4625 | } |
| 4626 | return false; |
| 4627 | } |
| 4628 | |
| 4629 | //----------------------------------------------------------------------------- |
| 4630 | // <Manager::AddSceneValue> |