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

            return(ret);
        }
Beispiel #2
0
 public static void DestroyInstance(PacketLogger i)
 {
     RakNetPINVOKE.PacketLogger_DestroyInstance(PacketLogger.getCPtr(i));
 }
Beispiel #3
0
 internal static HandleRef getCPtr(PacketLogger obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public static void DestroyInstance(PacketLogger i)
 {
     RakNetPINVOKE.PacketLogger_DestroyInstance(PacketLogger.getCPtr(i));
 }
 internal static HandleRef getCPtr(PacketLogger obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }