add TODOs

This commit is contained in:
vis2k 2021-03-13 19:30:46 +08:00
parent 5cb86830f1
commit e0d023828f

View File

@ -45,13 +45,16 @@ public virtual void OnStartClient() {}
public virtual void OnStopClient() {}
/// <summary>Called on client from OnClientAuthenticateInternal when a client needs to authenticate</summary>
// TODO client callbacks don't need NetworkConnection parameter. use NetworkClient.connection!
public abstract void OnClientAuthenticate(NetworkConnection conn);
// TODO client callbacks don't need NetworkConnection parameter. use NetworkClient.connection!
protected void ClientAccept(NetworkConnection conn)
{
OnClientAuthenticated.Invoke(conn);
}
// TODO client callbacks don't need NetworkConnection parameter. use NetworkClient.connection!
protected void ClientReject(NetworkConnection conn)
{
// Set this on the client for local reference