mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-04 11:07:12 +02:00
Should improve stability or whatever. Also some convenient stream features.
19 lines
362 B
C#
19 lines
362 B
C#
using System;
|
|
|
|
namespace Lidgren.Network
|
|
{
|
|
internal abstract class NetReceiverChannelBase
|
|
{
|
|
internal NetPeer m_peer;
|
|
internal NetConnection m_connection;
|
|
|
|
public NetReceiverChannelBase(NetConnection connection)
|
|
{
|
|
m_connection = connection;
|
|
m_peer = connection.m_peer;
|
|
}
|
|
|
|
internal abstract void ReceiveMessage(NetIncomingMessage msg);
|
|
}
|
|
}
|