mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2026-08-19 13:13:28 +08:00
Misc
This commit is contained in:
@@ -129,9 +129,8 @@ SteamCommunity.prototype.getSteamSharedfile = function(sid, callback) {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
callback(err, null);
|
callback(err, null);
|
||||||
}
|
}
|
||||||
});
|
}, "steamcommunity");
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
function CSteamSharedfile(community, data) {
|
function CSteamSharedfile(community, data) {
|
||||||
this._community = community;
|
this._community = community;
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
var SteamCommunity = require('../index.js');
|
var SteamCommunity = require('../index.js');
|
||||||
var SteamID = require('steamid');
|
var SteamID = require('steamid');
|
||||||
|
|
||||||
// Note: a CSteamSharedfile class does not exist because we can't get data using the "normal" xml way to fill a CSteamSharedfile object
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deletes a comment from a sharedfile's comment section
|
* Deletes a comment from a sharedfile's comment section
|
||||||
@@ -85,7 +84,7 @@ SteamCommunity.prototype.postSharedfileComment = function(userID, sid, message,
|
|||||||
/**
|
/**
|
||||||
* Subscribes to a sharedfile's comment section. Note: Checkbox on webpage does not update
|
* Subscribes to a sharedfile's comment section. Note: Checkbox on webpage does not update
|
||||||
* @param {SteamID | String} userID ID of the user associated to this sharedfile
|
* @param {SteamID | String} userID ID of the user associated to this sharedfile
|
||||||
* @param {String} sid ID of the sharedfileof
|
* @param {String} sid ID of the sharedfile
|
||||||
* @param {function} callback - Takes only an Error object/null as the first argument
|
* @param {function} callback - Takes only an Error object/null as the first argument
|
||||||
*/
|
*/
|
||||||
SteamCommunity.prototype.subscribeSharedfileComments = function(userID, sid, callback) {
|
SteamCommunity.prototype.subscribeSharedfileComments = function(userID, sid, callback) {
|
||||||
@@ -134,7 +133,7 @@ SteamCommunity.prototype.unfavoriteSharedfile = function(sid, appid, callback) {
|
|||||||
/**
|
/**
|
||||||
* Unsubscribes from a sharedfile's comment section. Note: Checkbox on webpage does not update
|
* Unsubscribes from a sharedfile's comment section. Note: Checkbox on webpage does not update
|
||||||
* @param {SteamID | String} userID - ID of the user associated to this sharedfile
|
* @param {SteamID | String} userID - ID of the user associated to this sharedfile
|
||||||
* @param {String} sid - ID of the sharedfileof
|
* @param {String} sid - ID of the sharedfile
|
||||||
* @param {function} callback - Takes only an Error object/null as the first argument
|
* @param {function} callback - Takes only an Error object/null as the first argument
|
||||||
*/
|
*/
|
||||||
SteamCommunity.prototype.unsubscribeSharedfileComments = function(userID, sid, callback) {
|
SteamCommunity.prototype.unsubscribeSharedfileComments = function(userID, sid, callback) {
|
||||||
|
|||||||
Reference in New Issue
Block a user