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
+9
View File
@@ -50,6 +50,15 @@ impl App {
};
ui.label(format!("focused: \"{current_title}\""));
});
ui.horizontal(|ui| {
ui.label("blocked_status");
egui::ComboBox::from_id_salt("blocked_status")
.selected_text(&self.game_networking.blocked_status.to_string())
.show_ui(ui, |ui| {
tools::build_menu(ui, &mut self.game_networking.blocked_status);
});
});
});
ui.collapsing("anti afk", |ui| {
ui.label(format!(