mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2024-12-29 16:10:12 +08:00
Added inventory methods to CSteamUser
This commit is contained in:
parent
09cd81b607
commit
c3f5b492b3
@ -134,3 +134,11 @@ CSteamUser.prototype.comment = function(message, callback) {
|
||||
CSteamUser.prototype.inviteToGroup = function(groupID, callback) {
|
||||
this._community.inviteUserToGroup(this.steamID, groupID, callback);
|
||||
};
|
||||
|
||||
CSteamUser.prototype.getInventoryContexts = function(callback) {
|
||||
this._community.getUserInventoryContexts(this.steamID, callback);
|
||||
};
|
||||
|
||||
CSteamUser.prototype.getInventory = function(appID, contextID, tradableOnly, callback) {
|
||||
this._community.getInventory(appID, contextID, tradableOnly, callback);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user