Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 7 files). Show all
Unified · Split
| @@ -566,6 +566,11 @@ void EntityScriptingInterface::callEntityMethod(QUuid id, const QString& method, · 565 unmodified lines | |||
| 566 | } | 566 | } |
| 567 | } | 567 | } |
| 568 | 568 | ||
| 569 | void EntityScriptingInterface::callEntityServerMethod(QUuid id, const QString& method, const QStringList& params) { | ||
| 570 | PROFILE_RANGE(script_entities, __FUNCTION__); | ||
| 571 | DependencyManager::get<EntityScriptClient>()->callEntityServerMethod(id, method, params); | ||
| 572 | } | ||
| 573 | |||
| 569 | QUuid EntityScriptingInterface::findClosestEntity(const glm::vec3& center, float radius) const { | 574 | QUuid EntityScriptingInterface::findClosestEntity(const glm::vec3& center, float radius) const { |
| 570 | PROFILE_RANGE(script_entities, __FUNCTION__); | 575 | PROFILE_RANGE(script_entities, __FUNCTION__); |
| 571 | 576 | ||