public void Replace(SystemAddress input, SystemAddress filler, uint position, string file, uint line)
 {
     SLikeNetPINVOKE.RakNetListSystemAddress_Replace__SWIG_0(swigCPtr, SystemAddress.getCPtr(input), SystemAddress.getCPtr(filler), position, file, line);
     if (SLikeNetPINVOKE.SWIGPendingException.Pending)
     {
         throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
        public ushort SetupReceive(FileListTransferCBInterface handler, bool deleteHandler, SystemAddress allowedSender)
        {
            ushort ret = SLikeNetPINVOKE.FileListTransfer_SetupReceive(swigCPtr, FileListTransferCBInterface.getCPtr(handler), deleteHandler, SystemAddress.getCPtr(allowedSender));

            if (SLikeNetPINVOKE.SWIGPendingException.Pending)
            {
                throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #3
0
 public void Send(FileList fileList, RakPeerInterface rakPeer, SystemAddress recipient, ushort setID, PacketPriority priority, char orderingChannel, IncrementalReadInterface _incrementalReadInterface)
 {
     SLikeNetPINVOKE.FileListTransfer_Send__SWIG_1(swigCPtr, FileList.getCPtr(fileList), RakPeerInterface.getCPtr(rakPeer), SystemAddress.getCPtr(recipient), setID, (int)priority, orderingChannel, IncrementalReadInterface.getCPtr(_incrementalReadInterface));
     if (SLikeNetPINVOKE.SWIGPendingException.Pending)
     {
         throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
        public AddressOrGUID CopyData(SystemAddress input)
        {
            AddressOrGUID ret = new AddressOrGUID(SLikeNetPINVOKE.AddressOrGUID_CopyData__SWIG_1(swigCPtr, SystemAddress.getCPtr(input)), false);

            if (SLikeNetPINVOKE.SWIGPendingException.Pending)
            {
                throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #5
0
        public uint GetPendingFilesToAddress(SystemAddress recipient)
        {
            uint ret = SLikeNetPINVOKE.FileListTransfer_GetPendingFilesToAddress(swigCPtr, SystemAddress.getCPtr(recipient));

            if (SLikeNetPINVOKE.SWIGPendingException.Pending)
            {
                throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #6
0
        public ushort DownloadFromSubdirectory(FileList localFiles, string subdir, string outputSubdir, bool prependAppDirToOutputSubdir, SystemAddress host, FileListTransferCBInterface onFileCallback, PacketPriority _priority, char _orderingChannel, FileListProgress cb)
        {
            ushort ret = SLikeNetPINVOKE.DirectoryDeltaTransfer_DownloadFromSubdirectory__SWIG_1(swigCPtr, FileList.getCPtr(localFiles), subdir, outputSubdir, prependAppDirToOutputSubdir, SystemAddress.getCPtr(host), FileListTransferCBInterface.getCPtr(onFileCallback), (int)_priority, _orderingChannel, FileListProgress.getCPtr(cb));

            if (SLikeNetPINVOKE.SWIGPendingException.Pending)
            {
                throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #7
0
 public AddressOrGUID(SystemAddress input) : this(SLikeNetPINVOKE.new_AddressOrGUID__SWIG_2(SystemAddress.getCPtr(input)), true)
 {
     if (SLikeNetPINVOKE.SWIGPendingException.Pending)
     {
         throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #8
0
        public override bool OnCommand(string command, uint numParameters, string[] parameterList, TransportInterface transport, SystemAddress systemAddress, string originalString)
        {
            bool ret = SLikeNetPINVOKE.LogCommandParser_OnCommand(swigCPtr, command, numParameters, parameterList, TransportInterface.getCPtr(transport), SystemAddress.getCPtr(systemAddress), originalString);

            if (SLikeNetPINVOKE.SWIGPendingException.Pending)
            {
                throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #9
0
 public override void SendHelp(TransportInterface transport, SystemAddress systemAddress)
 {
     SLikeNetPINVOKE.LogCommandParser_SendHelp(swigCPtr, TransportInterface.getCPtr(transport), SystemAddress.getCPtr(systemAddress));
     if (SLikeNetPINVOKE.SWIGPendingException.Pending)
     {
         throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #10
0
        public override RakNetStatistics GetStatistics(SystemAddress systemAddress)
        {
            IntPtr           cPtr = SLikeNetPINVOKE.RakPeer_GetStatistics__SWIG_1(swigCPtr, SystemAddress.getCPtr(systemAddress));
            RakNetStatistics ret  = (cPtr == IntPtr.Zero) ? null : new RakNetStatistics(cPtr, false);

            if (SLikeNetPINVOKE.SWIGPendingException.Pending)
            {
                throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #11
0
        public SystemAddress CopyData(SystemAddress input)
        {
            SystemAddress ret = new SystemAddress(SLikeNetPINVOKE.SystemAddress_CopyData(swigCPtr, SystemAddress.getCPtr(input)), false);

            if (SLikeNetPINVOKE.SWIGPendingException.Pending)
            {
                throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #12
0
 public override void ChangeSystemAddress(RakNetGUID guid, SystemAddress systemAddress)
 {
     SLikeNetPINVOKE.RakPeer_ChangeSystemAddress(swigCPtr, RakNetGUID.getCPtr(guid), SystemAddress.getCPtr(systemAddress));
     if (SLikeNetPINVOKE.SWIGPendingException.Pending)
     {
         throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #13
0
        public override bool GetClientPublicKeyFromSystemAddress(SystemAddress input, string client_public_key)
        {
            bool ret = SLikeNetPINVOKE.RakPeer_GetClientPublicKeyFromSystemAddress(swigCPtr, SystemAddress.getCPtr(input), client_public_key);

            if (SLikeNetPINVOKE.SWIGPendingException.Pending)
            {
                throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #14
0
        public override RakNetGUID GetGuidFromSystemAddress(SystemAddress input)
        {
            RakNetGUID ret = new RakNetGUID(SLikeNetPINVOKE.RakPeer_GetGuidFromSystemAddress(swigCPtr, SystemAddress.getCPtr(input)), false);

            if (SLikeNetPINVOKE.SWIGPendingException.Pending)
            {
                throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #15
0
        public override SystemAddress GetExternalID(SystemAddress target)
        {
            SystemAddress ret = new SystemAddress(SLikeNetPINVOKE.RakPeer_GetExternalID(swigCPtr, SystemAddress.getCPtr(target)), true);

            if (SLikeNetPINVOKE.SWIGPendingException.Pending)
            {
                throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #16
0
        public override SystemAddress GetInternalID(SystemAddress systemAddress, int index)
        {
            SystemAddress ret = new SystemAddress(SLikeNetPINVOKE.RakPeer_GetInternalID__SWIG_0(swigCPtr, SystemAddress.getCPtr(systemAddress), index), true);

            if (SLikeNetPINVOKE.SWIGPendingException.Pending)
            {
                throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }