Skip to content

Commit 2d5ed8c

Browse files
committed
Fixed spelling
1 parent d6a58c3 commit 2d5ed8c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

MLAPI/Data/Transports/IUDPTransport.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public interface IUDPTransport
3030
/// <param name="error">Error byte. Does nothhing</param>
3131
void SendQueue(uint clientId, out byte error);
3232
/// <summary>
33-
/// Polls for incomming events
33+
/// Polls for incoming events
3434
/// </summary>
3535
/// <param name="clientId">The clientId this event is for</param>
3636
/// <param name="channelId">The channelId this message comes from</param>
@@ -56,7 +56,7 @@ public interface IUDPTransport
5656
/// <param name="error">Error byte. Does nothhing</param>
5757
void Connect(string address, int port, object settings, out byte error);
5858
/// <summary>
59-
/// Starts to listen for incomming clients.
59+
/// Starts to listen for incoming clients.
6060
/// </summary>
6161
/// <param name="settings">The settings object for the transport</param>
6262
void RegisterServerListenSocket(object settings);

MLAPI/MonoBehaviours/Core/NetworkingManager.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,25 +135,25 @@ internal set
135135
/// </summary>
136136
public NetworkConfig NetworkConfig;
137137
/// <summary>
138-
/// Delegate used for incomming custom messages
138+
/// Delegate used for incoming custom messages
139139
/// </summary>
140140
/// <param name="clientId">The clientId that sent the message</param>
141141
/// <param name="stream">The stream containing the message data</param>
142142
public delegate void CustomMessageDelegete(uint clientId, Stream stream);
143143
/// <summary>
144144
/// Event invoked when custom messages arrive
145145
/// </summary>
146-
public event CustomMessageDelegete OnIncommingCustomMessage;
146+
public event CustomMessageDelegete OnIncomingCustomMessage;
147147
/// <summary>
148148
/// The current hostname we are connected to, used to validate certificate
149149
/// </summary>
150150
public string ConnectedHostname { get; private set; }
151151
internal byte[] clientAesKey;
152152
internal static event Action OnSingletonReady;
153153

154-
internal void InvokeOnIncommingCustomMessage(uint clientId, Stream stream)
154+
internal void InvokeOnIncomingCustomMessage(uint clientId, Stream stream)
155155
{
156-
if (OnIncommingCustomMessage != null) OnIncommingCustomMessage(clientId, stream);
156+
if (OnIncomingCustomMessage != null) OnIncomingCustomMessage(clientId, stream);
157157
}
158158

159159
/// <summary>
@@ -713,7 +713,7 @@ private void Update()
713713
NetworkProfiler.EndEvent();
714714
break;
715715
case NetEventType.Data:
716-
if (LogHelper.CurrentLogLevel <= LogLevel.Developer) LogHelper.LogInfo($"Incomming Data From {clientId} : {receivedSize} bytes");
716+
if (LogHelper.CurrentLogLevel <= LogLevel.Developer) LogHelper.LogInfo($"Incoming Data From {clientId} : {receivedSize} bytes");
717717

718718
HandleIncomingData(clientId, messageBuffer, channelId, receivedSize);
719719
break;

MLAPI/NetworkingManagerComponents/Core/InternalMessageHandler.Receive.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ internal static void HandleClientRPC(uint clientId, Stream stream, int channelId
544544

545545
internal static void HandleCustomMessage(uint clientId, Stream stream, int channelId)
546546
{
547-
NetworkingManager.singleton.InvokeOnIncommingCustomMessage(clientId, stream);
547+
NetworkingManager.singleton.InvokeOnIncomingCustomMessage(clientId, stream);
548548
}
549549
}
550550
}

0 commit comments

Comments
 (0)