Skip to content

Inventory-related websocket updates #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
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
19 changes: 19 additions & 0 deletions content/tutorials/websocket.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ In this part of the documentation, the following `":identifier"`s will be used t
\* *only observed with* `"inventory"` *content type*
- `":inventoryType"`
- `"sticker"`
- `"emoji"`
- `"bundle"`
- `"prop"`
- *other values* Some other user-uploaded or creator economy content

## Events
Expand Down Expand Up @@ -428,6 +431,22 @@ A "`content-refresh`" event is sent when the user adds or removes profile images
```


#### modified-image-update
A "`modified-image-update`" event is sent when an image file is modified.

```json
{
"type": "modified-image-update",
"content": {
"fileId": ":id", // Id for the image updated
"pixelSize": <number>, // Integer size, in pixels, of the image
"versionNumber": <number>, // Integer version of the image
"needsProcessing": <boolean> // Whether the image requires processing
}
}
```


#### instance-queue-joined
A "`instance-queue-joined`" event is sent when the user queues to join an instance.

Expand Down