Beispiel #1
0
 internal ENetPeer(ENetHost host, Native.ENetPeer *native)
 {
     Host = host;
     host.m_Peers.Add(this);
     Unsafe       = native;
     m_Handle     = GCHandle.Alloc(this, GCHandleType.Normal);
     Unsafe->Data = GCHandle.ToIntPtr(m_Handle);
 }
 internal ENetHostPeerList(ENetHost host)
 {
     Host = host;
 }