node-steamcommunity icon indicating copy to clipboard operation
node-steamcommunity copied to clipboard

feat: Extend existing sharedfiles implementation

Open 3urobeat opened this issue 1 year ago • 1 comments

Hi,
this PR extends the existing sharedfiles implementation to...:

  • detect workshop item objects as type
  • scrape categories
  • scrape tags
  • implement functions to un-/subscribe from/to workshop items
  • rename object methods for un-/subscribing from/to comments to separate them more clearly

Workshop Items are also listed as sharedfiles on the SteamCommunity (see the CS2 Insertion2 map for example), which is why I added support to the existing sharedfiles class, instead of adding a new one.

This PR might display conflicts later on as it is based on the master branch and not on the fixes of my two other sharedfiles PRs (#315 & #316). I'll address them gladly when it is time.

Thanks!

3urobeat avatar May 07 '24 21:05 3urobeat

Added a patch (to this very stale PR, please review :( ) that fixes getSteamSharedFile() failing to check if account up-/downvoted a greenlight item.

Greenlight items are workshop items that can be voted into a game, e.g. CS skins. These items use a different container to list the voting buttons, hence causing the previous implementation to fail.

3urobeat avatar Feb 15 '25 17:02 3urobeat