From 89273604430e59ac431254c1989b7193f8e9f30e Mon Sep 17 00:00:00 2001 From: Vinyarion <38413862+VinyarionHyarmendacil@users.noreply.github.com> Date: Wed, 4 Oct 2023 21:58:11 -0500 Subject: [PATCH 1/2] Add "avatar" and "world" to listed contentRefreshContentTypeEnum values --- content/tutorials/websocket.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/tutorials/websocket.markdown b/content/tutorials/websocket.markdown index ab23e94..2577a05 100644 --- a/content/tutorials/websocket.markdown +++ b/content/tutorials/websocket.markdown @@ -354,7 +354,7 @@ A "`content-refresh`" event is sent when the user adds or removes profile images { "type": "content-refresh", "content": { - "contentType": ":contentRefreshContentTypeEnum", // One of: "gallery", "icon", "emoji", ??? + "contentType": ":contentRefreshContentTypeEnum", // One of: "gallery", "icon", "emoji", "avatar", "world", ??? "actionType": ":contentRefreshActionTypeEnum" // One of: "created", "deleted", ??? } } From 4f8e4a8cc6c3a3df1243bb98eb4dcaeb87e0f166 Mon Sep 17 00:00:00 2001 From: Vinyarion <38413862+VinyarionHyarmendacil@users.noreply.github.com> Date: Sun, 31 Mar 2024 22:55:50 -0500 Subject: [PATCH 2/2] Add instance queue events --- content/tutorials/websocket.markdown | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/content/tutorials/websocket.markdown b/content/tutorials/websocket.markdown index 2577a05..401a943 100644 --- a/content/tutorials/websocket.markdown +++ b/content/tutorials/websocket.markdown @@ -360,6 +360,34 @@ A "`content-refresh`" event is sent when the user adds or removes profile images } ``` + +#### instance-queue-joined +A "`instance-queue-joined`" event is sent when the user queues to join an instance. + +```json +{ + "type": "instance-queue-joined", + "content": { + "instanceLocation": ":locationString", // Refer to https://vrchatapi.github.io/tutorials/instances/ + "position": // Integer position in queue + } +} +``` + + +#### instance-queue-ready +A "`instance-queue-ready`" event is sent when the user is at the front of the queue. + +```json +{ + "type": "instance-queue-ready", + "content": { + "instanceLocation": ":locationString", // Refer to https://vrchatapi.github.io/tutorials/instances/ + "expiry": ":dateTimeString" // Time at which priority will be lost + } +} +``` + --- ### Group Events