public static FileListProgress GetInstance()
        {
            global::System.IntPtr cPtr = RakNetPINVOKE.CSharp_RakNet_FileListProgress_GetInstance();
            FileListProgress      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FileListProgress(cPtr, false);

            return(ret);
        }
Example #2
0
 public void RemoveCallback(FileListProgress cb)
 {
     RakNetPINVOKE.CSharp_RakNet_FileList_RemoveCallback(swigCPtr, FileListProgress.getCPtr(cb));
 }
Example #3
0
 public void RemoveCallback(FileListProgress cb)
 {
     RakNetPINVOKE.FileListTransfer_RemoveCallback(swigCPtr, FileListProgress.getCPtr(cb));
 }
Example #4
0
 public void AddCallback(FileListProgress cb)
 {
     RakNetPINVOKE.FileList_AddCallback(swigCPtr, FileListProgress.getCPtr(cb));
 }
 public static void DestroyInstance(FileListProgress i)
 {
     RakNetPINVOKE.CSharp_RakNet_FileListProgress_DestroyInstance(FileListProgress.getCPtr(i));
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FileListProgress obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #7
0
        public ushort DownloadFromSubdirectory(FileList localFiles, string subdir, string outputSubdir, bool prependAppDirToOutputSubdir, SystemAddress host, FileListTransferCBInterface onFileCallback, PacketPriority _priority, char _orderingChannel, FileListProgress cb)
        {
            ushort ret = RakNetPINVOKE.DirectoryDeltaTransfer_DownloadFromSubdirectory__SWIG_1(swigCPtr, FileList.getCPtr(localFiles), subdir, outputSubdir, prependAppDirToOutputSubdir, SystemAddress.getCPtr(host), FileListTransferCBInterface.getCPtr(onFileCallback), (int)_priority, _orderingChannel, FileListProgress.getCPtr(cb));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #8
0
 public void AddCallback(FileListProgress cb)
 {
     RakNetPINVOKE.CSharp_RakNet_FileListTransfer_AddCallback(swigCPtr, FileListProgress.getCPtr(cb));
 }