How zaxiure/huntstats works
HuntStats is a .NET MAUI/Blazor app for importing Hunt: Showdown match XML, saving match history locally, and viewing match details, lists, settings, totals, accolades, and charts. The documented workflow is game XML → match parsing and persistence → match/statistics views. Sampled handlers confirm SQLite access, match reconstruction, and chart queries; page-to-handler wiring is not shown, so those links are marked unverified. The README notes that Hunt: Showdown removed the XML data the app depends on, limiting the documented workflow today.
Main entry points: IDbConnectionFactory.cs SQLite Connections · Pages Dashboard and Pages · MatchHandler.cs Match Queries · SettingsHandler.cs Settings Handler
Components 20
App UI
- Dashboard and Pages
HuntStats/Pages - UI Components
HuntStats/Components
Match Ingestion
- XML Import
HuntStats/Features/XmlFileHandler.cs - Settings Handler
HuntStats/Features/SettingsHandler.cs
Match Data
- Match Queries
HuntStats/Features/MatchHandler.cs - Entry Queries
HuntStats/Features/EntryHandler.cs - Accolade Queries
HuntStats/Features/AccoladeHandler.cs - Match Models
HuntStats/Models/Match.cs - Accolade Model
HuntStats/Models/Accolade.cs
Statistics
- Totals
HuntStats/Features/TotalHandler.cs - Chart Queries
HuntStats/Features/ChartHandlers - Chart Dispatch
HuntStats/Features/ChartHandler.cs
Runtime and Storage
- MAUI App Shell
HuntStats/App.xaml.cs - App Registration
HuntStats/MauiProgram.cs - Shared App State
HuntStats/State/AppState.cs - SQLite Connections
HuntStats/Data/IDbConnectionFactory.cs - Local SQLite DB
- Windows Folder Picker
HuntStats/Platforms/Windows/FolderPicker.cs
Other components
- User
- Game XML
Connections 30
- User → Dashboard and Pages: uses
README.md - Game XML → XML Import: provides XML
README.md - XML Import → SQLite Connections: opens connection
HuntStats/Features/XmlFileHandler.cs - XML Import → Local SQLite DB: stores matches
HuntStats/Features/XmlFileHandler.cs - XML Import → Shared App State: notifies state
HuntStats/Features/XmlFileHandler.cs - Settings Handler → SQLite Connections: opens connection
HuntStats/Features/SettingsHandler.cs - Settings Handler → Local SQLite DB: reads settings
HuntStats/Features/SettingsHandler.cs - Settings Handler → Shared App State: updates state
HuntStats/Features/SettingsHandler.cs - Match Queries → SQLite Connections: opens connection
HuntStats/Features/MatchHandler.cs - Match Queries → Local SQLite DB: queries matches
HuntStats/Features/MatchHandler.cs - Match Queries → Match Models: maps records
HuntStats/Features/MatchHandler.cs - Match Queries → Shared App State: notifies changes
HuntStats/Features/MatchHandler.cs - Entry Queries → SQLite Connections: opens connection
HuntStats/Features/EntryHandler.cs - Accolade Queries → SQLite Connections: opens connection
HuntStats/Features/AccoladeHandler.cs - Accolade Queries → Accolade Model: uses model
HuntStats/Features/AccoladeHandler.cs - Totals → SQLite Connections: opens connection
HuntStats/Features/TotalHandler.cs - Chart Queries → SQLite Connections: opens connection
HuntStats/Features/ChartHandlers/KillChartHandler.cs - Chart Queries → Match Queries: requests matches
HuntStats/Features/ChartHandlers/KillChartHandler.cs - Chart Queries → Settings Handler: requests settings
HuntStats/Features/ChartHandlers/KillChartHandler.cs - Chart Queries → Accolade Queries: requests accolades
HuntStats/Features/ChartHandlers/KillChartHandler.cs - Dashboard and Pages → Match Queries: requests match views
- Dashboard and Pages → Settings Handler: requests settings
- Dashboard and Pages → Totals: requests totals
- Dashboard and Pages → Chart Dispatch: requests charts
- Dashboard and Pages → UI Components: renders components
- App Registration → Shared App State: registers state
HuntStats/MauiProgram.cs - App Registration → SQLite Connections: registers connections
HuntStats/MauiProgram.cs - App Registration → Windows Folder Picker: registers picker
HuntStats/MauiProgram.cs - MAUI App Shell → App Registration: creates app
- SQLite Connections → Local SQLite DB: opens SQLite
HuntStats/Data/IDbConnectionFactory.cs