I keep a database of matches -- it'd be nice to cleanup for games that never actually get started (in a matchmaking environment). Is it possible to trigger a webhook when the room closes somehow?
Or, more intuitively, if the master leaves and is the LAST one to leave, it'd be nice to have a special callback to perform cleanup tasks and what not.
OnLeftRoom()
OnLastPlayerLeftRoom()
EDIT: ...although client-side wouldn't work if the last player dirty-disconnected. So yeah, I suppose a server-side callback/webhook would be best.
Or, more intuitively, if the master leaves and is the LAST one to leave, it'd be nice to have a special callback to perform cleanup tasks and what not.
OnLeftRoom()
OnLastPlayerLeftRoom()
EDIT: ...although client-side wouldn't work if the last player dirty-disconnected. So yeah, I suppose a server-side callback/webhook would be best.