Exemplo n.º 1
0
        public static NatTypeDetectionClient GetInstance()
        {
            global::System.IntPtr  cPtr = RakNetPINVOKE.NatTypeDetectionClient_GetInstance();
            NatTypeDetectionClient ret  = (cPtr == global::System.IntPtr.Zero) ? null : new NatTypeDetectionClient(cPtr, false);

            return(ret);
        }
Exemplo n.º 2
0
 public static void DestroyInstance(NatTypeDetectionClient i)
 {
     RakNetPINVOKE.NatTypeDetectionClient_DestroyInstance(NatTypeDetectionClient.getCPtr(i));
 }
Exemplo n.º 3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(NatTypeDetectionClient obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }