Working version with new streaming and DB
This commit is contained in:
parent
c20d54d037
commit
c418221575
8 changed files with 302 additions and 37 deletions
45
EVENT_FORMATS.json
Normal file
45
EVENT_FORMATS.json
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
"_comment": "These are individual example payloads keyed by event type. Send each payload separately over the WS connection.",
|
||||
"telemetry": {
|
||||
"type": "telemetry",
|
||||
"character_name": "string",
|
||||
"session_id": "string",
|
||||
"timestamp": "2025-04-22T13:45:00Z",
|
||||
"ew": 123.4,
|
||||
"ns": 567.8,
|
||||
"z": 10.2,
|
||||
"kills": 42,
|
||||
"kills_per_hour": 7.0,
|
||||
"onlinetime": "00.05:00",
|
||||
"deaths": 1,
|
||||
"prismatic_taper_count": 17,
|
||||
"vt_state": "Combat",
|
||||
"mem_mb": 256.5,
|
||||
"cpu_pct": 12.3,
|
||||
"mem_handles": 1024
|
||||
},
|
||||
"spawn": {
|
||||
"type": "spawn",
|
||||
"timestamp": "2025-04-22T13:46:00Z",
|
||||
"character_name": "MyCharacter",
|
||||
"mob": "Forest Troll",
|
||||
"ew": 100.1,
|
||||
"ns": 200.2
|
||||
},
|
||||
"chat": {
|
||||
"type": "chat",
|
||||
"timestamp": "2025-04-22T13:47:00Z",
|
||||
"character_name": "MyCharacter",
|
||||
"text": "Hello world!",
|
||||
"color": "#88FF00"
|
||||
},
|
||||
"rare": {
|
||||
"type": "rare",
|
||||
"timestamp": "2025-04-22T13:48:00Z",
|
||||
"character_name": "MyCharacter",
|
||||
"mob": "Golden Gryphon",
|
||||
"ew": 150.5,
|
||||
"ns": 350.7,
|
||||
"z": 5.0
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue