public static UDPProxyServer GetInstance() { IntPtr cPtr = SLikeNetPINVOKE.UDPProxyServer_GetInstance(); UDPProxyServer ret = (cPtr == IntPtr.Zero) ? null : new UDPProxyServer(cPtr, false); return(ret); }
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(); } }
public static void DestroyInstance(UDPProxyServer i) { SLikeNetPINVOKE.UDPProxyServer_DestroyInstance(UDPProxyServer.getCPtr(i)); }
internal static HandleRef getCPtr(UDPProxyServer obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }