|
|
|
@ -293,6 +293,9 @@ enum TournamentLevel: Int, Hashable, Codable, CaseIterable, Identifiable { |
|
|
|
self.init(rawValue: value) |
|
|
|
self.init(rawValue: value) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func searchRawValue() -> String { |
|
|
|
|
|
|
|
String(describing: self) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func pointsRange(first: Int, last: Int, teamsCount: Int) -> String { |
|
|
|
func pointsRange(first: Int, last: Int, teamsCount: Int) -> String { |
|
|
|
let range = [points(for: first - 1, count: teamsCount), |
|
|
|
let range = [points(for: first - 1, count: teamsCount), |
|
|
|
|