You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-16 15:16:33 +09:00
major update; gen 3.5
This commit is contained in:
18
Lidgren.Network/NetReceiverChannelBase.cs
Normal file
18
Lidgren.Network/NetReceiverChannelBase.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user