Finish LogFile format and patch template/logfile.ron

This commit is contained in:
Cutieguwu
2025-03-25 12:14:24 -04:00
parent aec577e93b
commit f791675d3a
5 changed files with 45 additions and 20 deletions

View File

@@ -14,7 +14,10 @@ impl TryFrom<File> for LogFile {
}
#[derive(Debug, Deserialize)]
struct GameRecord([Option<Period>; 4]);
struct GameRecord {
version: semver::Version,
periods: Vec<Option<Period>>,
}
#[derive(Debug, Deserialize)]
struct Period {
@@ -57,7 +60,7 @@ enum Down {
Second,
Third,
Fourth,
Pat,
PointAfterTouchdown,
}
impl Down {