@@ -50,6 +50,9 @@ public class NetworkingManager : MonoBehaviour
50
50
/// </summary>
51
51
[ HideInInspector ]
52
52
public LogLevel LogLevel = LogLevel . Normal ;
53
+ /// <summary>
54
+ /// The singleton instance of the NetworkingManager
55
+ /// </summary>
53
56
[ Obsolete ( "Use Singleton instead" , false ) ]
54
57
public static NetworkingManager singleton => Singleton ;
55
58
/// <summary>
@@ -88,31 +91,46 @@ internal set
88
91
/// Gets a dictionary of the clients that have been accepted by the transport but are still pending by the MLAPI.
89
92
/// </summary>
90
93
public readonly Dictionary < uint , PendingClient > PendingClients = new Dictionary < uint , PendingClient > ( ) ;
94
+ /// <summary>
95
+ /// Gets wheter or not a server is running
96
+ /// </summary>
91
97
[ Obsolete ( "Use IsServer instead" , false ) ]
92
98
public bool isServer => IsServer ;
93
99
/// <summary>
94
100
/// Gets wheter or not a server is running
95
101
/// </summary>
96
102
public bool IsServer { get ; internal set ; }
103
+ /// <summary>
104
+ /// Gets wheter or not a client is running
105
+ /// </summary>
97
106
[ Obsolete ( "Use IsClient instead" , false ) ]
98
107
public bool isClient => IsClient ;
99
108
/// <summary>
100
109
/// Gets wheter or not a client is running
101
110
/// </summary>
102
111
public bool IsClient { get ; internal set ; }
112
+ /// <summary>
113
+ /// Gets if we are running as host
114
+ /// </summary>
103
115
[ Obsolete ( "Use IsHost instead" , false ) ]
104
116
public bool isHost => IsHost ;
105
117
/// <summary>
106
118
/// Gets if we are running as host
107
119
/// </summary>
108
120
public bool IsHost => IsServer && IsClient ;
121
+ /// <summary>
122
+ /// Gets wheter or not we are listening for connections
123
+ /// </summary>
109
124
[ Obsolete ( "Use IsListening instead" , false ) ]
110
125
public bool isListening => IsListening ;
111
126
/// <summary>
112
127
/// Gets wheter or not we are listening for connections
113
128
/// </summary>
114
129
public bool IsListening { get ; internal set ; }
115
130
private byte [ ] messageBuffer ;
131
+ /// <summary>
132
+ /// Gets if we are connected as a client
133
+ /// </summary>
116
134
[ Obsolete ( "Use IsConnectedClient instead" , false ) ]
117
135
public bool isConnectedClients => IsConnectedClient ;
118
136
/// <summary>
0 commit comments