Showing the changes to libraries/script-engine/src/UsersScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -47,6 +47,10 @@ void UsersScriptingInterface::setAvatarGain(const QUuid& nodeID, float gain) { · 46 unmodified lines | |||
| 47 | DependencyManager::get<NodeList>()->setAvatarGain(nodeID, gain); | 47 | DependencyManager::get<NodeList>()->setAvatarGain(nodeID, gain); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | float UsersScriptingInterface::getAvatarGain(const QUuid& nodeID) { | ||
| 51 | return DependencyManager::get<NodeList>()->getAvatarGain(nodeID); | ||
| 52 | } | ||
| 53 | |||
| 50 | void UsersScriptingInterface::kick(const QUuid& nodeID) { | 54 | void UsersScriptingInterface::kick(const QUuid& nodeID) { |
| 51 | // ask the NodeList to kick the user with the given session ID | 55 | // ask the NodeList to kick the user with the given session ID |
| 52 | DependencyManager::get<NodeList>()->kickNodeBySessionID(nodeID); | 56 | DependencyManager::get<NodeList>()->kickNodeBySessionID(nodeID); |
| @@ -88,4 +92,4 @@ bool UsersScriptingInterface::getRequestsDomainListData() { · 35 unmodified lines | |||
| 88 | } | 92 | } |
| 89 | void UsersScriptingInterface::setRequestsDomainListData(bool isRequesting) { | 93 | void UsersScriptingInterface::setRequestsDomainListData(bool isRequesting) { |
| 90 | DependencyManager::get<NodeList>()->setRequestsDomainListData(isRequesting); | 94 | DependencyManager::get<NodeList>()->setRequestsDomainListData(isRequesting); |
| 91 | } | 95 | } |