Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
sentry.cpp File Reference
#include "crash.h"
#include <Windows.h>
#include <thread>
#include <fstream>
#include "components/3rdparty/sentry/sentry.h"
#include "components/settings/config/config.h"
#include <Strings/components/utils/io/io.h>
#include "components/ui/win32/dialogs.h"
#include "components/diagnostics/logger/logger.h"
#include "core.h"

Functions

void CrashUploadThread ()
 Function used to gather and upload Sentry data. More...
 

Variables

int upload_progress = 0
 Sentry data upload percentage, ranges from 0 to 100. More...
 
std::thread sentry_upload_thread
 Thread used to gather/upload data for Sentry. More...
 
SentryUploadStatus upload_status
 Current Sentry upload status. More...
 
std::string event_id = "{...}"
 The event ID generated by Sentry. More...
 

Function Documentation

◆ CrashUploadThread()

void CrashUploadThread ( )

Function used to gather and upload Sentry data.

Should only be run from a separate thread.

Variable Documentation

◆ event_id

std::string event_id = "{...}"

The event ID generated by Sentry.

◆ sentry_upload_thread

std::thread sentry_upload_thread

Thread used to gather/upload data for Sentry.

◆ upload_progress

int upload_progress = 0

Sentry data upload percentage, ranges from 0 to 100.

◆ upload_status

SentryUploadStatus upload_status

Current Sentry upload status.