Ejemplo n.º 1
0
 internal static void OnSessionDidRecieve(MCSession session, U3DXT.iOS.Native.Foundation.NSData data, MCPeerID peerID)
 {
     if (_sessionReceivedHandlers != null)
     {
         _sessionReceivedHandlers(null, new SessionReceivedEventArgs(session, data, peerID));
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="U3DXT.iOS.Multipeer.SessionReceivedEventArgs"/> class.
 /// </summary>
 /// <param name="_session">_session.</param>
 /// <param name="_data">_data.</param>
 /// <param name="_peerID">_peer I.</param>
 public SessionReceivedEventArgs(MCSession _session, U3DXT.iOS.Native.Foundation.NSData _data, MCPeerID _peerID)
 {
     session = _session;
     data = _data;
     peerID = _peerID;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="U3DXT.iOS.Multipeer.SessionReceivedEventArgs"/> class.
 /// </summary>
 /// <param name="_session">_session.</param>
 /// <param name="_data">_data.</param>
 /// <param name="_peerID">_peer I.</param>
 public SessionReceivedEventArgs(MCSession _session, U3DXT.iOS.Native.Foundation.NSData _data, MCPeerID _peerID)
 {
     session = _session;
     data    = _data;
     peerID  = _peerID;
 }