示例#1
0
        public static PacketLogger GetInstance()
        {
            IntPtr       cPtr = SLikeNetPINVOKE.PacketLogger_GetInstance();
            PacketLogger ret  = (cPtr == IntPtr.Zero) ? null : new PacketLogger(cPtr, false);

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