MosswartOverlord/EVENT_FORMATS.json
2025-05-22 16:29:05 +00:00

45 lines
No EOL
1.1 KiB
JSON

{
"_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",
"name": "Golden Gryphon",
"ew": 150.5,
"ns": 350.7,
"z": 5.0
}
}