Skip to content

Commit 3b63bdf

Browse files
fix: NetworkEndPoint simplify to NetworkEndpoint in 2021.3 editor (#3319)
This PR resolves some standards test issues regarding the simplification of `NetworkEndPoint` to `NetworkEndpoint`. [MTT-11382](https://jira.unity3d.com/browse/MTT-11382) ## Changelog NA ## Testing and Documentation - No tests have been added. - Includes edits to existing public API documentation. <!-- Uncomment and mark items off with a * if this PR deprecates any API: ### Deprecated API - [ ] An `[Obsolete]` attribute was added along with a `(RemovedAfter yyyy-mm-dd)` entry. - [ ] An [api updater] was added. - [ ] Deprecation of the API is explained in the CHANGELOG. - [ ] The users can understand why this API was removed and what they should use instead. --> --------- Co-authored-by: michalChrobot <[email protected]>
1 parent 66a7be4 commit 3b63bdf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.yamato/_triggers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ develop_nightly:
4242
dependencies:
4343
# Run project standards to verify package/default project
4444
- .yamato/project-standards.yml#standards_ubuntu_testproject_trunk
45-
# - .yamato/project-standards.yml#standards_ubuntu_testproject_2021.3 # Tracked in MTT-11382
45+
- .yamato/project-standards.yml#standards_ubuntu_testproject_2021.3
4646
# Run APV jobs to make sure the change won't break any dependants
4747
- .yamato/wrench/preview-a-p-v.yml#all_preview_apv_jobs
4848
# Run package EditMode and Playmode tests on desktop platforms on trunk and 2021.3

com.unity.netcode.gameobjects/Runtime/Transports/UTP/UnityTransport.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,16 +1241,16 @@ public NetworkEndpoint GetEndpoint(ulong clientId)
12411241
}
12421242
#else
12431243
/// <summary>
1244-
/// Provides the <see cref="NetworkEndPoint"/> for the NGO client identifier specified.
1244+
/// Provides the <see cref="NetworkEndpoint"/> for the NGO client identifier specified.
12451245
/// </summary>
12461246
/// <remarks>
12471247
/// - This is only really useful for direct connections.
12481248
/// - Relay connections and clients connected using a distributed authority network topology will not provide the client's actual endpoint information.
12491249
/// - For LAN topologies this should work as long as it is a direct connection and not a relay connection.
12501250
/// </remarks>
12511251
/// <param name="clientId">NGO client identifier to get endpoint information about.</param>
1252-
/// <returns><see cref="NetworkEndPoint"/></returns>
1253-
public NetworkEndPoint GetEndpoint(ulong clientId)
1252+
/// <returns><see cref="NetworkEndpoint"/></returns>
1253+
public NetworkEndpoint GetEndpoint(ulong clientId)
12541254
{
12551255
if (m_Driver.IsCreated && NetworkManager != null && NetworkManager.IsListening)
12561256
{
@@ -1261,7 +1261,7 @@ public NetworkEndPoint GetEndpoint(ulong clientId)
12611261
return m_Driver.RemoteEndPoint(networkConnection);
12621262
}
12631263
}
1264-
return new NetworkEndPoint();
1264+
return new NetworkEndpoint();
12651265
}
12661266
#endif
12671267

0 commit comments

Comments
 (0)