Skip to content

Commit 27e7677

Browse files
committed
NetworkTransport corrections
1 parent 802e183 commit 27e7677

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

com.unity.netcode.gameobjects/Runtime/Transports/NetworkTransport.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public abstract class NetworkTransport : MonoBehaviour
2828
/// <summary>
2929
/// Delegate for transport network events
3030
/// </summary>
31+
/// <param name="eventType">The type of network event that occurred</param>
32+
/// <param name="clientId">The ID of the client associated with this event</param>
33+
/// <param name="payload">The data payload received with this event</param>
34+
/// <param name="receiveTime">The time when this event was received</param>
3135
public delegate void TransportEventDelegate(NetworkEvent eventType, ulong clientId, ArraySegment<byte> payload, float receiveTime);
3236

3337
/// <summary>
@@ -171,7 +175,7 @@ internal NetworkTopologyTypes CurrentTopology()
171175
public enum NetworkTopologyTypes
172176
{
173177
/// <summary>
174-
/// The traditional client-server network topology.
178+
/// The traditional client-server network topology.
175179
/// </summary>
176180
ClientServer,
177181
/// <summary>

pvpExceptions.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@
4141
"Unity.Netcode.UserNetworkVariableSerialization<T>.WriteDeltaDelegate: missing <param name=\"previousValue\">",
4242
"Unity.Netcode.UserNetworkVariableSerialization<T>.DuplicateValueDelegate: missing <param name=\"duplicatedValue\">",
4343

44-
"Unity.Netcode.NetworkTransport.TransportEventDelegate: missing <param name=\"eventType\">",
45-
"Unity.Netcode.NetworkTransport.TransportEventDelegate: missing <param name=\"clientId\">",
46-
"Unity.Netcode.NetworkTransport.TransportEventDelegate: missing <param name=\"payload\">",
47-
"Unity.Netcode.NetworkTransport.TransportEventDelegate: missing <param name=\"receiveTime\">",
48-
4944
"Unity.Netcode.TestHelpers.Runtime.ObjectNameIdentifier: undocumented",
5045
"Unity.Netcode.TestHelpers.Runtime.ObjectNameIdentifier: void OnNetworkSpawn(): undocumented",
5146
"Unity.Netcode.TestHelpers.Runtime.ObjectNameIdentifier: void RegisterAndLabelNetworkObject(): undocumented",

0 commit comments

Comments
 (0)