Skip to content

Commit 58b563f

Browse files
authored
Merge pull request #80 from ChilloutVR-Team/feature/add-deeplink-documentation
Added deep-link info
2 parents 426ddee + 0513358 commit 58b563f

3 files changed

Lines changed: 83 additions & 0 deletions

File tree

docs/chilloutvr/game/.pages

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ nav:
33
- Game: index.md
44
- OSC: osc.md
55
- Launch Arguments: launch-arguments.md
6+
- Deeplink: deep-link.md

docs/chilloutvr/game/deep-link.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# Deep-Links
2+
3+
ChilloutVR supports **deep links** that let you open the game directly into specific contexts, such as joining an
4+
instance, opening details of avatars, props, or worlds, and more.
5+
6+
These links can be pasted into your **web browser** and trigger the respective operations.
7+
8+
---
9+
10+
## Instance Links
11+
12+
The instance ids are in the format: `i+bab275f822c020a0-152002-e81321-1fe976f9`, but since this is a url, you have to
13+
replace the `+` with it's encoded counterpart: `%2B`. This results in `i%2Bbab275f822c020a0-152002-e81321-1fe976f9`
14+
15+
### Join Instance in Desktop
16+
17+
Note: always works – will start the game if closed
18+
19+
```chilloutvr://instance/join?instanceId=i%2Bbab275f822c020a0-152002-e81321-1fe976f9```
20+
21+
Link Example: [Join Instance (Desktop)](chilloutvr://instance/join?instanceId=i%2Bbab275f822c020a0-152002-e81321-1fe976f9)
22+
23+
### Join Instance in Desktop (specifically)
24+
25+
Note: always works – will start the game if closed
26+
27+
```chilloutvr://instance/join?instanceId=i%2Bbab275f822c020a0-152002-e81321-1fe976f9&startInVR=false```
28+
29+
Link Example: [Join Instance (Desktop, startInVR=false)](chilloutvr://instance/join?instanceId=i%2Bbab275f822c020a0-152002-e81321-1fe976f9&startInVR=false)
30+
31+
### Join Instance in VR (specifically)
32+
33+
Note: Always works – will start the game and SteamVR if closed
34+
35+
```chilloutvr://instance/join?instanceId=i%2Bbab275f822c020a0-152002-e81321-1fe976f9&startInVR=true```
36+
37+
Link Example: [Join Instance (VR, startInVR=true)](chilloutvr://instance/join?instanceId=i%2Bbab275f822c020a0-152002-e81321-1fe976f9&startInVR=true)
38+
39+
---
40+
41+
## Details Links
42+
43+
You can also open the detail pages for certain entities in game. Note that it requires the game already running,
44+
otherwise nothing will happen.
45+
46+
### Avatar Details
47+
48+
```chilloutvr://details/avatar?id=17c267db-18c4-4900-bb73-ad323f082640```
49+
50+
Link Example: [Avatar Details](chilloutvr://details/avatar?id=17c267db-18c4-4900-bb73-ad323f082640)
51+
52+
### Prop Details
53+
54+
```chilloutvr://details/prop?id=1f7d0ac0-9629-4240-b01c-b5ec0e300efd```
55+
56+
Link Example: [Prop Details](chilloutvr://details/prop?id=1f7d0ac0-9629-4240-b01c-b5ec0e300efd)
57+
58+
### World Details
59+
60+
```chilloutvr://details/world?id=501e2584-ce9a-4570-8c28-ef496e033f5f```
61+
62+
Link Example: [World Details](chilloutvr://details/world?id=501e2584-ce9a-4570-8c28-ef496e033f5f)
63+
64+
### Instance Details
65+
66+
```chilloutvr://details/instance?id=i%2Bbab275f822c020a0-152002-e81321-1fe976f9```
67+
68+
Link Example: [Instance Details](chilloutvr://details/instance?id=i%2Bbab275f822c020a0-152002-e81321-1fe976f9)
69+
70+
### User Details
71+
72+
```chilloutvr://details/user?id=b3005d19-e487-bafc-70ac-76d2190d5a29```
73+
74+
Link Example: [User Details](chilloutvr://details/user?id=b3005d19-e487-bafc-70ac-76d2190d5a29)
75+
76+
### Group Details
77+
78+
```chilloutvr://details/group?id=504f7441-5921-4eca-a1b6-db42333aded7```
79+
80+
Link Example: [Group Details](chilloutvr://details/group?id=504f7441-5921-4eca-a1b6-db42333aded7)
81+

docs/chilloutvr/game/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22

33
+ [OSC](osc.md)
44
+ [Launch Arguments](launch-arguments.md)
5+
+ [DeepLink](deep-link.md)

0 commit comments

Comments
 (0)