Removed Overrides of OnServerError / OnClientError in templates

This commit is contained in:
MrGadget1024 2021-02-17 22:14:19 -05:00
parent 9927c827dc
commit ae5875203e

View File

@ -158,13 +158,6 @@ public class #SCRIPTNAME# : NetworkManager
base.OnServerDisconnect(conn); base.OnServerDisconnect(conn);
} }
/// <summary>
/// Called on the server when a network error occurs for a client connection.
/// </summary>
/// <param name="conn">Connection from client.</param>
/// <param name="errorCode">Error code.</param>
public override void OnServerError(NetworkConnection conn, int errorCode) { }
#endregion #endregion
#region Client System Callbacks #region Client System Callbacks
@ -189,13 +182,6 @@ public class #SCRIPTNAME# : NetworkManager
base.OnClientDisconnect(conn); base.OnClientDisconnect(conn);
} }
/// <summary>
/// Called on clients when a network error occurs.
/// </summary>
/// <param name="conn">Connection to a server.</param>
/// <param name="errorCode">Error code.</param>
public override void OnClientError(NetworkConnection conn, int errorCode) { }
/// <summary> /// <summary>
/// Called on clients when a servers tells the client it is no longer ready. /// Called on clients when a servers tells the client it is no longer ready.
/// <para>This is commonly used when switching scenes.</para> /// <para>This is commonly used when switching scenes.</para>