mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-11-30 04:40:47 +01:00
kills module
This commit is contained in:
parent
b03d328ab9
commit
c8664f9e47
13 changed files with 233 additions and 36 deletions
|
|
@ -29,7 +29,6 @@ pub struct DamageEvent<'a> {
|
|||
pub struct KillEvent<'a> {
|
||||
#[event(unnamed)]
|
||||
#[event(subject)]
|
||||
#[event(skip_after = 1)]
|
||||
pub target: RawSubject<'a>,
|
||||
#[event(name = "with")]
|
||||
pub weapon: &'a str,
|
||||
|
|
@ -41,7 +40,7 @@ pub struct KillEvent<'a> {
|
|||
pub struct KillAssistEvent<'a> {
|
||||
#[event(name = "against")]
|
||||
pub target: RawSubject<'a>,
|
||||
pub attacker_position: Option<(i32, i32, i32)>,
|
||||
pub assister_position: Option<(i32, i32, i32)>,
|
||||
pub victim_position: Option<(i32, i32, i32)>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue