Showing the changes to libraries/script-engine/src/UsersScriptingInterface.cpp (1 of 20 files). Show all
Unified · Split
| @@ -38,3 +38,27 @@ bool UsersScriptingInterface::getCanKick() { · 37 unmodified lines | ||
| 38 | 38 | // ask the NodeList to return our ability to kick |
| 39 | 39 | return DependencyManager::get<NodeList>()->getThisNodeCanKick(); |
| 40 | 40 | } |
| 41 | + | |
| 42 | +void UsersScriptingInterface::toggleIgnoreRadius() { | |
| 43 | + DependencyManager::get<NodeList>()->toggleIgnoreRadius(); | |
| 44 | +} | |
| 45 | + | |
| 46 | +void UsersScriptingInterface::enableIgnoreRadius() { | |
| 47 | + DependencyManager::get<NodeList>()->enableIgnoreRadius(); | |
| 48 | +} | |
| 49 | + | |
| 50 | +void UsersScriptingInterface::disableIgnoreRadius() { | |
| 51 | + DependencyManager::get<NodeList>()->disableIgnoreRadius(); | |
| 52 | +} | |
| 53 | + | |
| 54 | +void UsersScriptingInterface::setIgnoreRadius(float radius, bool enabled) { | |
| 55 | + DependencyManager::get<NodeList>()->ignoreNodesInRadius(radius, enabled); | |
| 56 | +} | |
| 57 | + | |
| 58 | + float UsersScriptingInterface::getIgnoreRadius() { | |
| 59 | + return DependencyManager::get<NodeList>()->getIgnoreRadius(); | |
| 60 | +} | |
| 61 | + | |
| 62 | +bool UsersScriptingInterface::getIgnoreRadiusEnabled() { | |
| 63 | + return DependencyManager::get<NodeList>()->getIgnoreRadiusEnabled(); | |
| 64 | +} | |