From 9e380e71f57223234bc1b25bc7cb505637571d18 Mon Sep 17 00:00:00 2001 From: Alex Corn Date: Sun, 1 Apr 2018 03:31:07 -0400 Subject: [PATCH] jsdoc --- components/market.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/components/market.js b/components/market.js index 2fea43b..3c0f093 100644 --- a/components/market.js +++ b/components/market.js @@ -31,7 +31,7 @@ SteamCommunity.prototype.getMarketApps = function(callback) { }; /** - * + * Check if an item is eligible to be turned into gems and if so, get its gem value * @param {int} appid * @param {int|string} assetid * @param {function} callback @@ -69,6 +69,13 @@ SteamCommunity.prototype.getGemValue = function(appid, assetid, callback) { }); }; +/** + * Turn an eligible item into gems. + * @param {int} appid + * @param {int|string} assetid + * @param {int} expectedGemsValue + * @param {function} callback + */ SteamCommunity.prototype.turnItemIntoGems = function(appid, assetid, expectedGemsValue, callback) { this._myProfile({ "endpoint": "ajaxgrindintogoo/",