Closed
Description
Description
Hi, I noticed that in NetworkManager we have an event for when a client connects / disconnects, but for the server we only have the "started" one.
public event Action<ulong> OnClientConnectedCallback;
public event Action<ulong> OnClientDisconnectCallback;
public event Action OnServerStarted;
Solution I'd like
Would it make sense to add an OnServerStopped
event, so that applications can do specific operations when a server instance is stopped but the application is still running?
public event Action OnServerStopped;
Additional context:
This could be useful to send analytics, do cleanups, etc...