Skip to content

Commit

Permalink
Translate hitgroup and player color (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaihoE authored Aug 6, 2024
1 parent cd31997 commit aee2bce
Show file tree
Hide file tree
Showing 5 changed files with 193 additions and 232 deletions.
90 changes: 45 additions & 45 deletions src/parser/src/e2e_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11792,47 +11792,47 @@ mod tests {
let prop = (
"CCSPlayerController.m_iCompTeammateColor",
PropColumn {
data: Some(I32(vec![
Some(3),
Some(1),
Some(1),
Some(2),
Some(2),
Some(4),
Some(0),
Some(4),
Some(3),
Some(0),
Some(3),
Some(1),
Some(1),
Some(2),
Some(2),
Some(4),
Some(0),
Some(4),
Some(3),
Some(0),
Some(3),
Some(1),
Some(1),
Some(2),
Some(2),
Some(4),
Some(0),
Some(4),
Some(3),
Some(0),
Some(3),
Some(1),
Some(1),
Some(2),
Some(2),
Some(4),
Some(0),
Some(4),
Some(3),
Some(0),
data: Some(String(vec![
Some("orange".to_string()),
Some("green".to_string()),
Some("green".to_string()),
Some("yellow".to_string()),
Some("yellow".to_string()),
Some("purple".to_string()),
Some("blue".to_string()),
Some("purple".to_string()),
Some("orange".to_string()),
Some("blue".to_string()),
Some("orange".to_string()),
Some("green".to_string()),
Some("green".to_string()),
Some("yellow".to_string()),
Some("yellow".to_string()),
Some("purple".to_string()),
Some("blue".to_string()),
Some("purple".to_string()),
Some("orange".to_string()),
Some("blue".to_string()),
Some("orange".to_string()),
Some("green".to_string()),
Some("green".to_string()),
Some("yellow".to_string()),
Some("yellow".to_string()),
Some("purple".to_string()),
Some("blue".to_string()),
Some("purple".to_string()),
Some("orange".to_string()),
Some("blue".to_string()),
Some("orange".to_string()),
Some("green".to_string()),
Some("green".to_string()),
Some("yellow".to_string()),
Some("yellow".to_string()),
Some("purple".to_string()),
Some("blue".to_string()),
Some("purple".to_string()),
Some("orange".to_string()),
Some("blue".to_string()),
])),
num_nones: 0,
},
Expand Down Expand Up @@ -15985,7 +15985,7 @@ mod tests {
},
EventField {
name: "hitgroup".to_string(),
data: Some(I32(1)),
data: Some(String("head".to_string())),
},
EventField {
name: "tick".to_string(),
Expand Down Expand Up @@ -16091,7 +16091,7 @@ mod tests {
},
EventField {
name: "hitgroup".to_string(),
data: Some(I32(5)),
data: Some(String("right_arm".to_string())),
},
EventField {
name: "tick".to_string(),
Expand Down Expand Up @@ -17093,7 +17093,7 @@ mod tests {
},
EventField {
name: "hitgroup".to_string(),
data: Some(I32(1)),
data: Some(String("head".to_string())),
},
EventField {
name: "tick".to_string(),
Expand Down Expand Up @@ -17143,7 +17143,7 @@ mod tests {
},
EventField {
name: "hitgroup".to_string(),
data: Some(I32(2)),
data: Some(String("chest".to_string())),
},
EventField {
name: "tick".to_string(),
Expand Down
Loading

0 comments on commit aee2bce

Please sign in to comment.