예제 #1
0
 public void Push(SocketDescriptor input, string file, uint line)
 {
     RakNetPINVOKE.RakNetListSocketDescriptor_Push(swigCPtr, SocketDescriptor.getCPtr(input), file, line);
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public void Replace(SocketDescriptor input)
 {
     RakNetPINVOKE.RakNetListSocketDescriptor_Replace__SWIG_1(swigCPtr, SocketDescriptor.getCPtr(input));
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
 public void Replace(SocketDescriptor input, SocketDescriptor filler, uint position, string file, uint line)
 {
     RakNetPINVOKE.RakNetListSocketDescriptor_Replace__SWIG_0(swigCPtr, SocketDescriptor.getCPtr(input), SocketDescriptor.getCPtr(filler), position, file, line);
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public uint GetIndexOf(SocketDescriptor input)
        {
            uint ret = RakNetPINVOKE.RakNetListSocketDescriptor_GetIndexOf(swigCPtr, SocketDescriptor.getCPtr(input));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public virtual StartupResult Startup(ushort maxConnections, SocketDescriptor socketDescriptors, uint socketDescriptorCount)
        {
            StartupResult ret = (StartupResult)RakNetPINVOKE.RakPeerInterface_Startup__SWIG_1(swigCPtr, maxConnections, SocketDescriptor.getCPtr(socketDescriptors), socketDescriptorCount);

            return(ret);
        }
예제 #6
0
        public override StartupResult Startup(uint maxConnections, SocketDescriptor socketDescriptors, uint socketDescriptorCount)
        {
            StartupResult ret = (StartupResult)RakNetPINVOKE.CSharp_RakPeer_Startup__SWIG_1(swigCPtr, maxConnections, SocketDescriptor.getCPtr(socketDescriptors), socketDescriptorCount);

            return(ret);
        }
예제 #7
0
        public override StartupResult Startup(uint maxConnections, SocketDescriptor socketDescriptors, uint socketDescriptorCount, int threadPriority)
        {
            StartupResult ret = (StartupResult)RakNetPINVOKE.RakPeer_Startup__SWIG_0(swigCPtr, maxConnections, SocketDescriptor.getCPtr(socketDescriptors), socketDescriptorCount, threadPriority);

            return(ret);
        }
예제 #8
0
        public virtual StartupResult Startup(uint maxConnections, SocketDescriptor socketDescriptors, uint socketDescriptorCount, int threadPriority)
        {
            UnityEngine.Debug.Log("RakPeerInterface.Startup called");
            StartupResult ret = (StartupResult)RakNetPINVOKE.RakPeerInterface_Startup__SWIG_0(swigCPtr, maxConnections, SocketDescriptor.getCPtr(socketDescriptors), socketDescriptorCount, threadPriority);

            return(ret);
        }
예제 #9
0
        public virtual StartupResult Startup(uint maxConnections, SocketDescriptor socketDescriptors, uint socketDescriptorCount, int threadPriority)
        {
            StartupResult ret = (StartupResult)RakNetPINVOKE.CSharp_RakPeerInterface_Startup__SWIG_0(swigCPtr, maxConnections, SocketDescriptor.getCPtr(socketDescriptors), socketDescriptorCount, threadPriority);

            return(ret);
        }