alvyxaz / barebones-masterserver

Master Server framework for Unity
475 stars 106 forks source link

Delete from database when disconnected from master #189

Closed fgurel closed 6 years ago

fgurel commented 6 years ago

Hi,

I have a database which keeps a list of clients that are currently logged in. Right now they are removed from the database, using their username, if they choose to log out or when they close the game. However what I wish to do is to remove them from that database if they are disconnected from the master server.

Can someone tell me which scripts I should change in order to achieve this?

Thank you,