Skip to content

Instantly share code, notes, and snippets.

@oestrich
Created November 21, 2019 03:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oestrich/d47a745c58f819bb8cb9819e1700e1d5 to your computer and use it in GitHub Desktop.
Save oestrich/d47a745c58f819bb8cb9819e1700e1d5 to your computer and use it in GitHub Desktop.
Heartbeat with extra player metadata
{
"event": "heartbeat",
"payload": {
"players": [
"player",
{"name": "eric", "status": "idle", "idleTime": 6000, "title": "a wizard"},
{"name": "odo", "status": "active", "title": "a cat"}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment