From fd65cbb2e533aa7f631c44acd64e1b24ef1508d9 Mon Sep 17 00:00:00 2001 From: Alex Corn Date: Sun, 1 Oct 2023 21:36:28 -0400 Subject: [PATCH] Added docs for followUser/unfollowUser and followCurator/unfollowCurator --- CSteamUser.md | 22 +++++++++++++++++++++- SteamCommunity.md | 18 ++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/CSteamUser.md b/CSteamUser.md index 37f1264..4ddfe72 100644 --- a/CSteamUser.md +++ b/CSteamUser.md @@ -270,4 +270,24 @@ Gets comments from a user's Steam profile. **v3.43.0 or later is required to use this method** -Deletes a comment from a user's profile. Must be your own profile, or your own comment on someone else's profile. \ No newline at end of file +Deletes a comment from a user's profile. Must be your own profile, or your own comment on someone else's profile. + +### follow([callback]) +- `callback` - Optional. + - `err` - `null` on success, an `Error` object on failure + +**Non-object method name: `followUser`** + +**v3.47.0 or later is required to use this method.** + +Follows the user and their workshop. + +### unfollow([callback]) +- `callback` - Optional. + - `err` - `null` on success, an `Error` object on failure + +**Non-object method name: `unfollowUser`** + +**v3.47.0 or later is required to use this method.** + +Unfollows the user and their workshop. diff --git a/SteamCommunity.md b/SteamCommunity.md index 01437f8..19b13b2 100644 --- a/SteamCommunity.md +++ b/SteamCommunity.md @@ -701,6 +701,24 @@ const EFriendRelationship = SteamCommunity.EFriendRelationship; Retrieves details about a shared file (artwork/screenshot/guide), given the shared file's ID. +### followCurator(curatorId[, callback]) +- `curatorId` - ID of the curator you want to follow (this is not a SteamID) +- `callback` - Optional. + - `err` - `null` on success, or an `Error` object on failure + +**v3.47.0 or later is required to use this method** + +Adds a Steam curator to your followed list. + +### unfollowCurator(curatorId[, callback]) +- `curatorId` - ID of the curator you want to unfollow (this is not a SteamID) +- `callback` - Optional. + - `err` - `null` on success, or an `Error` object on failure + +**v3.47.0 or later is required to use this method** + +Removes a Steam curator from your followed list. + # Events ### sessionExpired