Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/resources/server/friendrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ A list of all known keys can be found in the table below
| 14 | iconType | **Integer** | The other user's icon type indexing an array of `icon, ship, ball, ufo, wave, robot, spider`
| 15 | glow | **Integer** | Either 0 or 2, might be related to glow
| 16 | accountID | **Integer** | The other user's account ID. **This is different than the player ID**
| 32 | friendRequestID | **Integer** | An ID unique to each friend request. (I'm not 100% certain on this)
| 35 | message | **String** | The friend requests's message, encoded in [base64](/topics/encryption/base64.md)
| 32 | friendRequestID | **Integer** | An ID unique to each friend request
| 35 | message | **String** | The friend request's message, encoded in [base64](/topics/encryption/base64.md)
| 37 | age | **String** | How long ago the friend request was sent (e.g. "2 months")
| 41 | NewFriendRequest | **Bool** | if the friend request is new
| 41 | newFriendRequest | **Bool** | if the friend request is new

#### Trivia

Expand Down
7 changes: 5 additions & 2 deletions docs/resources/server/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,11 @@ Each `key` is tied to a component within the client and the `value` sets data fo
| 28* | accGlow | **Bool** | If the player has glow enabled |
| 29* | isRegistered | **Bool** | If the player is registered |
| 30* | globalRank | **Integer** | The global rank of the player |
| 31* | friendState | **Integer** | Friendship status. 0 = Unfriended, 1 = Friended, 3 = Friend request sent to the player, 4 = Friend request received from the player |
| 38* | messages | **Integer** | The number of new messages you have (only returned when logged in and viewing own profile) | <!-- there are a bunch of keys before here but they are exclusive to friend requests so i didnt add them here -->
| 31* | friendState | **Integer** | Friendship status. Empty = Unfriended, 1 = Friended, 3 = Friend request sent to the player, 4 = Friend request received from the player |
| 32* | friendRequestID | **Integer** | An ID unique to each friend request (only returned if player sent you a friend request) |
| 35* | friendRequestComment | **String** | The friend request's message, encoded in [base64](/topics/encryption/base64.md) (only returned if player sent you a friend request) |
| 37* | friendRequestAge | **Integer** | How long ago the friend request was sent (e.g. "2 months") (only returned if player sent you a friend request) |
| 38* | messages | **Integer** | The number of new messages you have (only returned when logged in and viewing own profile) |
| 39* | friendRequests | **Integer** | The number of new friend requests you have |
| 40* | newFriends | **Integer** | The number of new friends you have |
| 41 | newFriendRequest | **Bool** | If the friend request is new (only returned by [getGJFriendRequests20](/endpoints/socials/getGJFriendRequests20)) |
Expand Down