1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-17 07:36:32 +09:00

RegisterReceivedCallback added to get a callback using SynchronizationContext when a message arrives

This commit is contained in:
lidgren
2011-05-18 06:17:15 +00:00
parent cd7ccd6bae
commit c56e190cba
5 changed files with 61 additions and 38 deletions

View File

@@ -14,6 +14,9 @@ namespace Lidgren.Network
private string m_serviceUrl;
private NetPeer m_peer;
/// <summary>
/// NetUPnP constructor
/// </summary>
public NetUPnP(NetPeer peer)
{
m_peer = peer;