public static PacketLogger GetInstance() { IntPtr cPtr = SLikeNetPINVOKE.PacketLogger_GetInstance(); PacketLogger ret = (cPtr == IntPtr.Zero) ? null : new PacketLogger(cPtr, false); return(ret); }
public static void DestroyInstance(PacketLogger i) { SLikeNetPINVOKE.PacketLogger_DestroyInstance(PacketLogger.getCPtr(i)); }
internal static HandleRef getCPtr(PacketLogger obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }