Ejemplo n.º 1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("OnRoomAdded", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateRoomManagerListener_0(SwigDirectorOnRoomAdded);
     }
     if (SwigDerivedClassHasMethod("OnRoomClosed", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateRoomManagerListener_1(SwigDirectorOnRoomClosed);
     }
     if (SwigDerivedClassHasMethod("OnUserJoinedRoom", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateRoomManagerListener_2(SwigDirectorOnUserJoinedRoom);
     }
     if (SwigDerivedClassHasMethod("OnUserLeftRoom", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateRoomManagerListener_3(SwigDirectorOnUserLeftRoom);
     }
     if (SwigDerivedClassHasMethod("OnAnchorsChanged", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateRoomManagerListener_4(SwigDirectorOnAnchorsChanged);
     }
     if (SwigDerivedClassHasMethod("OnAnchorsDownloaded", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateRoomManagerListener_5(SwigDirectorOnAnchorsDownloaded);
     }
     if (SwigDerivedClassHasMethod("OnAnchorUploadComplete", swigMethodTypes6))
     {
         swigDelegate6 = new SwigDelegateRoomManagerListener_6(SwigDirectorOnAnchorUploadComplete);
     }
     SharingClientPINVOKE.RoomManagerListener_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6);
 }
 private void SwigDirectorConnect() {
   if (SwigDerivedClassHasMethod("OnRoomAdded", swigMethodTypes0))
     swigDelegate0 = new SwigDelegateRoomManagerListener_0(SwigDirectorOnRoomAdded);
   if (SwigDerivedClassHasMethod("OnRoomClosed", swigMethodTypes1))
     swigDelegate1 = new SwigDelegateRoomManagerListener_1(SwigDirectorOnRoomClosed);
   if (SwigDerivedClassHasMethod("OnUserJoinedRoom", swigMethodTypes2))
     swigDelegate2 = new SwigDelegateRoomManagerListener_2(SwigDirectorOnUserJoinedRoom);
   if (SwigDerivedClassHasMethod("OnUserLeftRoom", swigMethodTypes3))
     swigDelegate3 = new SwigDelegateRoomManagerListener_3(SwigDirectorOnUserLeftRoom);
   if (SwigDerivedClassHasMethod("OnAnchorsChanged", swigMethodTypes4))
     swigDelegate4 = new SwigDelegateRoomManagerListener_4(SwigDirectorOnAnchorsChanged);
   if (SwigDerivedClassHasMethod("OnAnchorsDownloaded", swigMethodTypes5))
     swigDelegate5 = new SwigDelegateRoomManagerListener_5(SwigDirectorOnAnchorsDownloaded);
   if (SwigDerivedClassHasMethod("OnAnchorUploadComplete", swigMethodTypes6))
     swigDelegate6 = new SwigDelegateRoomManagerListener_6(SwigDirectorOnAnchorUploadComplete);
   SharingClientPINVOKE.RoomManagerListener_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6);
 }