mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
LLAPITransport: Server Receive filters out LLAPI's internal channels (alive check message)
This commit is contained in:
parent
5dbacafc97
commit
bbdb045c6d
@ -193,6 +193,13 @@ public bool ServerGetNextMessage(out int connectionId, out TransportEvent transp
|
||||
return false;
|
||||
}
|
||||
|
||||
// LLAPI client sends keep alive messages (75-6C-6C) on channel=110.
|
||||
// ignore all messages that aren't for our selected channel.
|
||||
if (channel != channelId)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
switch (networkEvent)
|
||||
{
|
||||
case NetworkEventType.Nothing:
|
||||
|
Loading…
Reference in New Issue
Block a user