private static bool ConsoleMessage(ClientServerConnection __instance, DataPacket packet)
        {
            var blob = packet.Blob;

            if (!blob.Contains("message"))
            {
                return(true);
            }

            try {
                var message   = blob.FetchBlob("message");
                var storeBlob = message.FetchBlob("store");
                CoreHook.StartRestore(storeBlob);
                return(false);
            } catch {
                //ignore
            }

            return(true);
        }
        private static bool ReceiveConsoleResponse(ChatController __instance, Blob blob)
        {
            try {
                var data = BlobAllocator.Blob(true);

                try {
                    data.ReadJson(blob.GetString("response"));
                } catch {
                    // ignore
                }

                if (data.Contains("store"))
                {
                    var storeBlob = data.FetchBlob("store");
                    CoreHook.StartRestore(storeBlob);
                    Blob.Deallocate(ref data);
                    return(false);
                }
            } catch when(!Debugger.IsAttached)
            {
                // ignore
            }
            return(true);
        }