Showing the changes to libraries/script-engine/src/ScriptManagerScriptingInterface.h (1 of 7 files). Show all
Unified · Split
| @@ -512,7 +512,7 @@ public: · 511 unmodified lines | ||
| 512 | 512 | |
| 513 | 513 | /*@jsdoc |
| 514 | 514 | * Start collecting object statistics that can later be reported with Script.dumpHeapObjectStatistics(). |
| 515 | − * @function Script.dumpHeapObjectStatistics | |
| 515 | + * @function Script.startCollectingObjectStatistics | |
| 516 | 516 | */ |
| 517 | 517 | Q_INVOKABLE void startCollectingObjectStatistics(); |
| 518 | 518 | |
| @@ -562,18 +562,24 @@ public: · 43 unmodified lines | ||
| 562 | 562 | * through signals such as errorEntityMessage. This function can be invoked both from client-side entity scripts |
| 563 | 563 | * and from interface scripts. |
| 564 | 564 | * @function Script.subscribeToServerEntityScriptMessages |
| 565 | + * @param {Uuid=} entityID - The ID of the entity that requests entity server script messages. Only needs to be specified | |
| 566 | + * for entity scripts, and must not be specified for other types of scripts. | |
| 565 | 567 | */ |
| 566 | 568 | |
| 567 | 569 | Q_INVOKABLE void requestServerEntityScriptMessages(); |
| 570 | + Q_INVOKABLE void requestServerEntityScriptMessages(const QUuid& entityID); | |
| 568 | 571 | |
| 569 | 572 | /*@jsdoc |
| 570 | 573 | * Calling this function signalizes that current script doesn't require stop receiving server-side entity script messages |
| 571 | 574 | * through signals such as errorEntityMessage. This function can be invoked both from client-side entity scripts |
| 572 | 575 | * and from interface scripts. |
| 573 | 576 | * @function Script.unsubscribeFromServerEntityScriptMessages |
| 577 | + * @param {Uuid=} entityID - The ID of the entity that requests entity server script messages. Only needs to be specified | |
| 578 | + * for entity scripts, and must not be specified for other types of scripts. | |
| 574 | 579 | */ |
| 575 | 580 | |
| 576 | 581 | Q_INVOKABLE void removeServerEntityScriptMessagesRequest(); |
| 582 | + Q_INVOKABLE void removeServerEntityScriptMessagesRequest(const QUuid& entityID); | |
| 577 | 583 | |
| 578 | 584 | signals: |
| 579 | 585 | |