Showing the changes to libraries/script-engine/src/ScriptManagerScriptingInterface.h (1 of 24 files). Show all
Unified · Split
| @@ -435,7 +435,7 @@ public: · 434 unmodified lines | |||
| 435 | * @param {Uuid} entityID - The ID of the entity running the entity script. | 435 | * @param {Uuid} entityID - The ID of the entity running the entity script. |
| 436 | * @param {string} methodName - The name of the method to call. | 436 | * @param {string} methodName - The name of the method to call. |
| 437 | * @param {string[]} [parameters=[]] - The parameters to call the specified method with. | 437 | * @param {string[]} [parameters=[]] - The parameters to call the specified method with. |
| 438 | * @param {Uuid} [remoteCallerID=Uuid.NULL] - An ID that identifies the caller. | 438 | * @param {Uuid} [remoteCallerID=Uuid.NONE] - An ID that identifies the caller. |
| 439 | */ | 439 | */ |
| 440 | Q_INVOKABLE void callEntityScriptMethod(const EntityItemID& entityID, const QString& methodName, | 440 | Q_INVOKABLE void callEntityScriptMethod(const EntityItemID& entityID, const QString& methodName, |
| 441 | const QStringList& params = QStringList(), | 441 | const QStringList& params = QStringList(), |
| @@ -740,7 +740,7 @@ public: · 298 unmodified lines | |||
| 740 | * @returns {Signal} | 740 | * @returns {Signal} |
| 741 | * @example <caption>Get the ID of the entity that a client entity script is running in.</caption> | 741 | * @example <caption>Get the ID of the entity that a client entity script is running in.</caption> |
| 742 | * var entityScript = function () { | 742 | * var entityScript = function () { |
| 743 | * this.entityID = Uuid.NULL; | 743 | * this.entityID = Uuid.NONE; |
| 744 | * }; | 744 | * }; |
| 745 | * | 745 | * |
| 746 | * Script.entityScriptPreloadFinished.connect(function (entityID) { | 746 | * Script.entityScriptPreloadFinished.connect(function (entityID) { |