private static extern void _SetDebugOutputFunction(IntPtr self, NetDebugOutput eDetailLevel, NetDebugFunc pfnFunc);
 internal void SetDebugOutputFunction(NetDebugOutput eDetailLevel, NetDebugFunc pfnFunc)
 {
     _SetDebugOutputFunction(Self, eDetailLevel, pfnFunc);
 }
 void DebugOutput(NetDebugOutput type, string text)
 {
     Console.WriteLine($"[NET:{type}]\t\t{text}");
 }