예제 #1
0
        public static UDPProxyServer GetInstance()
        {
            IntPtr         cPtr = SLikeNetPINVOKE.UDPProxyServer_GetInstance();
            UDPProxyServer ret  = (cPtr == IntPtr.Zero) ? null : new UDPProxyServer(cPtr, false);

            return(ret);
        }
예제 #2
0
 public virtual void OnWrongPassword(RakString usedPassword, UDPProxyServer proxyServerPlugin)
 {
     SLikeNetPINVOKE.UDPProxyServerResultHandler_OnWrongPassword(swigCPtr, RakString.getCPtr(usedPassword), UDPProxyServer.getCPtr(proxyServerPlugin));
     if (SLikeNetPINVOKE.SWIGPendingException.Pending)
     {
         throw SLikeNetPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
 public static void DestroyInstance(UDPProxyServer i)
 {
     SLikeNetPINVOKE.UDPProxyServer_DestroyInstance(UDPProxyServer.getCPtr(i));
 }
예제 #4
0
 internal static HandleRef getCPtr(UDPProxyServer obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }