space-pew/Lidgren.Network/NetReceiverChannelBase.cs

19 lines
362 B
C#
Raw Normal View History

2015-12-04 10:23:49 +01:00
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);
}
}