added max_combo method for all PerformanceAttributes structs
This commit is contained in:
@@ -502,6 +502,12 @@ impl OsuPerformanceAttributes {
|
||||
pub fn pp(&self) -> f64 {
|
||||
self.pp
|
||||
}
|
||||
|
||||
/// Return the maximum combo of the map.
|
||||
#[inline]
|
||||
pub fn max_combo(&self) -> usize {
|
||||
self.attributes.max_combo
|
||||
}
|
||||
}
|
||||
|
||||
impl From<OsuPerformanceAttributes> for OsuDifficultyAttributes {
|
||||
|
||||
Reference in New Issue
Block a user