Esempio n. 1
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();
     }
 }
Esempio n. 2
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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 5
0
 internal static HandleRef getCPtr(RakNetListSocketDescriptor obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }