[match] tachyon support endpoint

This commit is contained in:
Devin Zuczek
2026-08-24 23:58:01 -04:00
parent bddd59ec1a
commit f9ffbcd374
3 changed files with 136 additions and 1 deletions
+12
View File
@@ -401,3 +401,15 @@ export const InviteResponse = z.object({
.nullable()
.describe('The room the invite points at; null when the room instance didnt resolve'),
})
/**
* `GET /tachyon?id=…` — the room instance a player is in, as a BARE NUMBER: the whole body
* is the id, with no object around it.
*
* 0 means "not in one" — no live presence for that account, an expired row, or no `id`
* given. Presence rows carry synthetic ids too, which are passed through as they stand:
* -2 is the Orientation seed the `auth` worker writes for a brand-new player.
*/
export const InstanceIdResponse = z
.int()
.describe('The players room instance id, or 0 when they are not in one')