Skip to content

Commit ac9cb1a

Browse files
update
moving the NetworkSessionInfo struct into the NetcodeAnalytics file.
1 parent 6446754 commit ac9cb1a

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

com.unity.netcode.gameobjects/Editor/Analytics/NetcodeAnalytics.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@
66

77
namespace Unity.Netcode.Editor
88
{
9+
/// <summary>
10+
/// Used to collection network session configuration information
11+
/// </summary>
12+
internal struct NetworkSessionInfo
13+
{
14+
public int SessionIndex;
15+
public bool SessionStopped;
16+
public bool WasServer;
17+
public bool WasClient;
18+
public bool UsedCMBService;
19+
public string Transport;
20+
public NetworkConfig NetworkConfig;
21+
}
22+
923
/// <summary>
1024
/// Netcode for GameObjects Analytics Class
1125
/// </summary>

com.unity.netcode.gameobjects/Editor/NetworkManagerHelper.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,6 @@
88
namespace Unity.Netcode.Editor
99
{
1010
#if UNITY_EDITOR
11-
internal struct NetworkSessionInfo
12-
{
13-
public int SessionIndex;
14-
public bool SessionStopped;
15-
public bool WasServer;
16-
public bool WasClient;
17-
public bool UsedCMBService;
18-
public string Transport;
19-
public NetworkConfig NetworkConfig;
20-
}
21-
2211
/// <summary>
2312
/// Specialized editor specific NetworkManager code
2413
/// </summary>

0 commit comments

Comments
 (0)