add debug menu feature to change blocked_status of GameNetworking

This commit is contained in:
2025-04-23 14:32:29 +01:00
parent 383224c2fa
commit 53030cc5f7
3 changed files with 12 additions and 2 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ use std::{
path::Path,
time::{Duration, Instant},
};
use strum::{Display, EnumIter};
use sysinfo::System;
use windows::{
Win32::{
@@ -23,7 +24,7 @@ const FILTER_NAME_OUT: &str = "[GTA Tools] Block all outbound traffic for GTA V"
const INTERVAL: Duration = Duration::from_secs(3);
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[derive(Clone, Copy, Debug, Display, PartialEq, Eq, EnumIter)]
pub enum BlockedStatus {
Blocked,
Failed,