subtr_actor/stats/export/
rush.rs1use crate::*;
2
3use super::*;
4
5impl StatFieldProvider for RushStats {
6 fn visit_stat_fields(&self, visitor: &mut dyn FnMut(ExportedStat)) {
7 visitor(ExportedStat::unsigned(
8 "rush",
9 "team_zero_count",
10 StatUnit::Count,
11 self.team_zero_count,
12 ));
13 visitor(ExportedStat::unsigned(
14 "rush",
15 "team_zero_two_v_one_count",
16 StatUnit::Count,
17 self.team_zero_two_v_one_count,
18 ));
19 visitor(ExportedStat::unsigned(
20 "rush",
21 "team_zero_two_v_two_count",
22 StatUnit::Count,
23 self.team_zero_two_v_two_count,
24 ));
25 visitor(ExportedStat::unsigned(
26 "rush",
27 "team_zero_two_v_three_count",
28 StatUnit::Count,
29 self.team_zero_two_v_three_count,
30 ));
31 visitor(ExportedStat::unsigned(
32 "rush",
33 "team_zero_three_v_one_count",
34 StatUnit::Count,
35 self.team_zero_three_v_one_count,
36 ));
37 visitor(ExportedStat::unsigned(
38 "rush",
39 "team_zero_three_v_two_count",
40 StatUnit::Count,
41 self.team_zero_three_v_two_count,
42 ));
43 visitor(ExportedStat::unsigned(
44 "rush",
45 "team_zero_three_v_three_count",
46 StatUnit::Count,
47 self.team_zero_three_v_three_count,
48 ));
49 visitor(ExportedStat::unsigned(
50 "rush",
51 "team_one_count",
52 StatUnit::Count,
53 self.team_one_count,
54 ));
55 visitor(ExportedStat::unsigned(
56 "rush",
57 "team_one_two_v_one_count",
58 StatUnit::Count,
59 self.team_one_two_v_one_count,
60 ));
61 visitor(ExportedStat::unsigned(
62 "rush",
63 "team_one_two_v_two_count",
64 StatUnit::Count,
65 self.team_one_two_v_two_count,
66 ));
67 visitor(ExportedStat::unsigned(
68 "rush",
69 "team_one_two_v_three_count",
70 StatUnit::Count,
71 self.team_one_two_v_three_count,
72 ));
73 visitor(ExportedStat::unsigned(
74 "rush",
75 "team_one_three_v_one_count",
76 StatUnit::Count,
77 self.team_one_three_v_one_count,
78 ));
79 visitor(ExportedStat::unsigned(
80 "rush",
81 "team_one_three_v_two_count",
82 StatUnit::Count,
83 self.team_one_three_v_two_count,
84 ));
85 visitor(ExportedStat::unsigned(
86 "rush",
87 "team_one_three_v_three_count",
88 StatUnit::Count,
89 self.team_one_three_v_three_count,
90 ));
91 }
92}