Skip to content

Commit

Permalink
new player field victim
Browse files Browse the repository at this point in the history
  • Loading branch information
LaihoE committed Aug 6, 2024
1 parent 5d10fc1 commit 38f956e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/parser/src/second_pass/game_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ static INTERNALEVENTFIELDS: &'static [&str] = &[
"userid_pawn",
"attacker_pawn",
"assister_pawn",
"victim",
"victim_pawn",
];
#[derive(Debug, Clone)]
pub struct RoundEnd {
Expand Down Expand Up @@ -203,6 +205,7 @@ impl<'a> SecondPassParser<'a> {
"attacker" => "attacker",
"userid" => "user",
"assister" => "assister",
"victim" => "victim",
// edge case in some events
"entityid" => {
let field_names: Vec<&String> = fields.iter().map(|x| &x.name).collect();
Expand Down

0 comments on commit 38f956e

Please # to comment.