예제 #1
0
        public override StartupResult Startup(uint maxConnections, RakNetListSocketDescriptor socketDescriptors)
        {
            StartupResult ret = (StartupResult)RakNetPINVOKE.RakPeer_Startup__SWIG_1(swigCPtr, maxConnections, RakNetListSocketDescriptor.getCPtr(socketDescriptors));

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #2
0
 public RakNetListSocketDescriptor(RakNetListSocketDescriptor original_copy) : this(RakNetPINVOKE.new_RakNetListSocketDescriptor__SWIG_1(RakNetListSocketDescriptor.getCPtr(original_copy)), true)
 {
     if (RakNetPINVOKE.SWIGPendingException.Pending)
     {
         throw RakNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
        public RakNetListSocketDescriptor CopyData(RakNetListSocketDescriptor original_copy)
        {
            RakNetListSocketDescriptor ret = new RakNetListSocketDescriptor(RakNetPINVOKE.RakNetListSocketDescriptor_CopyData(swigCPtr, RakNetListSocketDescriptor.getCPtr(original_copy)), false);

            if (RakNetPINVOKE.SWIGPendingException.Pending)
            {
                throw RakNetPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #4
0
        public virtual StartupResult Startup(uint maxConnections, RakNetListSocketDescriptor socketDescriptors, int threadPriority)
        {
            StartupResult ret = (StartupResult)RakNetPINVOKE.RakPeerInterface_Startup__SWIG_0(swigCPtr, maxConnections, RakNetListSocketDescriptor.getCPtr(socketDescriptors), threadPriority);

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