Esempio n. 1
0
 private void SwigDirectorConnect() {
   if (SwigDerivedClassHasMethod("OnFile", swigMethodTypes0))
     swigDelegate0 = new SwigDelegateFileListTransferCBInterface_0(SwigDirectorOnFile);
   if (SwigDerivedClassHasMethod("OnFileProgress", swigMethodTypes1))
     swigDelegate1 = new SwigDelegateFileListTransferCBInterface_1(SwigDirectorOnFileProgress);
   if (SwigDerivedClassHasMethod("Update", swigMethodTypes2))
     swigDelegate2 = new SwigDelegateFileListTransferCBInterface_2(SwigDirectorUpdate);
   if (SwigDerivedClassHasMethod("OnDownloadComplete", swigMethodTypes3))
     swigDelegate3 = new SwigDelegateFileListTransferCBInterface_3(SwigDirectorOnDownloadComplete);
   if (SwigDerivedClassHasMethod("OnDereference", swigMethodTypes4))
     swigDelegate4 = new SwigDelegateFileListTransferCBInterface_4(SwigDirectorOnDereference);
   RakNetPINVOKE.FileListTransferCBInterface_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4);
 }
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("OnFile", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateFileListTransferCBInterface_0(SwigDirectorOnFile);
     }
     if (SwigDerivedClassHasMethod("OnFileProgress", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateFileListTransferCBInterface_1(SwigDirectorOnFileProgress);
     }
     if (SwigDerivedClassHasMethod("Update", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateFileListTransferCBInterface_2(SwigDirectorUpdate);
     }
     if (SwigDerivedClassHasMethod("OnDownloadComplete", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateFileListTransferCBInterface_3(SwigDirectorOnDownloadComplete);
     }
     if (SwigDerivedClassHasMethod("OnDereference", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateFileListTransferCBInterface_4(SwigDirectorOnDereference);
     }
     RakNetPINVOKE.FileListTransferCBInterface_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4);
 }