improve debug experience
This commit is contained in:
@@ -6,6 +6,7 @@ use windows::Win32::UI::Input::KeyboardAndMouse::{
|
||||
pub const INTERVAL: Duration = Duration::from_secs(60);
|
||||
const VK_SHIFT: u8 = 16;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct AntiAfk {
|
||||
pub enabled: bool,
|
||||
pub interval: Instant,
|
||||
|
||||
@@ -10,6 +10,7 @@ pub const INTERVAL: Duration = Duration::from_secs(8);
|
||||
const ENHANCED: &str = "GTA5_Enhanced.exe";
|
||||
const LEGACY: &str = "GTA5.exe";
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct EmptySession {
|
||||
pub disabled: bool,
|
||||
pub interval: Instant,
|
||||
|
||||
@@ -2,6 +2,7 @@ use crate::util::consts::{ENHANCED, LEGACY};
|
||||
use std::time::Instant;
|
||||
use sysinfo::System;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct ForceClose {
|
||||
pub button_text: String,
|
||||
pub prompting: bool,
|
||||
|
||||
@@ -20,7 +20,7 @@ impl Display for Platform {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Debug, Default)]
|
||||
pub struct Launch {
|
||||
pub selected: Platform,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user