games.cavu.subscribeSession
Bidirectional game session. Server->client messages are below; client->server frames are games.cavu.clientFrame.
Details · subscription
| Kind | subscription |
|---|---|
| Authority | cavu.games |
| Indexed |
Showing version bafyreig2c2okzpvrqikokz53s5j4xisdeytv5mlteq4cifwdddabay27fm. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Bidirectional game session. Server->client messages are below; client->server frames are games.cavu.clientFrame.",
"errors": [
{
"name": "UnknownGame"
},
{
"name": "InvalidJoin"
},
{
"name": "RoomInitFailed"
},
{
"name": "ReduceFailed"
},
{
"name": "InvalidFrame"
},
{
"name": "UnknownFrame"
}
],
"message": {
"schema": {
"refs": [
"#snapshot"
],
"type": "union"
}
},
"parameters": {
"properties": {},
"type": "params"
},
"type": "subscription"
},
"snapshot": {
"description": "This viewer's projection of the room state: project(state, viewer). Sent on join and whenever it changes. Never contains other players' secrets.",
"properties": {
"ack": {
"description": "Highest intent seq from this viewer that the state reflects.",
"minimum": 0,
"type": "integer"
},
"view": {
"description": "Typed by the game: games.cavu.<game>.defs#view.",
"type": "unknown"
}
},
"required": [
"ack",
"view"
],
"type": "object"
}
},
"id": "games.cavu.subscribeSession",
"lexicon": 1
}