mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
add TODOs
This commit is contained in:
parent
5cb86830f1
commit
e0d023828f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user