Showing the changes to interface/src/scripting/AccountServicesScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -112,6 +112,12 @@ DownloadInfoResult::DownloadInfoResult() : · 111 unmodified lines | ||
| 112 | 112 | { |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | +/**jsdoc | |
| 116 | + * Information on the assets currently being downloaded and pending download. | |
| 117 | + * @typedef {object} AccountServices.DownloadInfoResult | |
| 118 | + * @property {number[]} downloading - The percentage complete for each asset currently being downloaded. | |
| 119 | + * @property {number} pending - The number of assets waiting to be download. | |
| 120 | + */ | |
| 115 | 121 | QScriptValue DownloadInfoResultToScriptValue(QScriptEngine* engine, const DownloadInfoResult& result) { |
| 116 | 122 | QScriptValue object = engine->newObject(); |
| 117 | 123 | |