Add Head-to-Head kill stats

Add basic head-to-head kill analysis and the corresponding matrix display in the UI
This commit is contained in:
Lol3rrr
2024-11-05 07:50:43 +01:00
parent ecfed6b739
commit fa21804cc3
15 changed files with 350 additions and 12 deletions

View File

@@ -82,3 +82,10 @@ pub enum RoundEvent {
headshot: bool,
},
}
#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
pub struct HeadToHead {
pub row_players: Vec<String>,
pub column_players: Vec<String>,
pub entries: Vec<Vec<(i16, i16)>>,
}