public static NatPunchthroughServer GetInstance()
        {
            IntPtr cPtr = RakNetPINVOKE.NatPunchthroughServer_GetInstance();
            NatPunchthroughServer ret = (cPtr == IntPtr.Zero) ? null : new NatPunchthroughServer(cPtr, false);

            return(ret);
        }
 public static void DestroyInstance(NatPunchthroughServer i)
 {
     RakNetPINVOKE.NatPunchthroughServer_DestroyInstance(NatPunchthroughServer.getCPtr(i));
 }
 internal static HandleRef getCPtr(NatPunchthroughServer obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 internal static HandleRef getCPtr(NatPunchthroughServer obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public static void DestroyInstance(NatPunchthroughServer i)
 {
     RakNetPINVOKE.NatPunchthroughServer_DestroyInstance(NatPunchthroughServer.getCPtr(i));
 }