public static UDPProxyClient GetInstance() { IntPtr cPtr = SLikeNetPINVOKE.UDPProxyClient_GetInstance(); UDPProxyClient ret = (cPtr == IntPtr.Zero) ? null : new UDPProxyClient(cPtr, false); return(ret); }
public virtual void OnForwardingInProgress(string proxyIPAddress, ushort proxyPort, SystemAddress proxyCoordinator, SystemAddress sourceAddress, SystemAddress targetAddress, RakNetGUID targetGuid, UDPProxyClient proxyClientPlugin) { SLikeNetPINVOKE.UDPProxyClientResultHandler_OnForwardingInProgress(swigCPtr, proxyIPAddress, proxyPort, SystemAddress.getCPtr(proxyCoordinator), SystemAddress.getCPtr(sourceAddress), SystemAddress.getCPtr(targetAddress), RakNetGUID.getCPtr(targetGuid), UDPProxyClient.getCPtr(proxyClientPlugin)); if (SLikeNetPINVOKE.SWIGPendingException.Pending) { throw SLikeNetPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void OnAllServersBusy(SystemAddress proxyCoordinator, SystemAddress sourceAddress, SystemAddress targetAddress, RakNetGUID targetGuid, UDPProxyClient proxyClientPlugin) { SLikeNetPINVOKE.UDPProxyClientResultHandler_OnAllServersBusy(swigCPtr, SystemAddress.getCPtr(proxyCoordinator), SystemAddress.getCPtr(sourceAddress), SystemAddress.getCPtr(targetAddress), RakNetGUID.getCPtr(targetGuid), UDPProxyClient.getCPtr(proxyClientPlugin)); if (SLikeNetPINVOKE.SWIGPendingException.Pending) { throw SLikeNetPINVOKE.SWIGPendingException.Retrieve(); } }
public static void DestroyInstance(UDPProxyClient i) { SLikeNetPINVOKE.UDPProxyClient_DestroyInstance(UDPProxyClient.getCPtr(i)); }
internal static HandleRef getCPtr(UDPProxyClient obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }