mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-11-30 04:40:47 +01:00
handle some more event types
This commit is contained in:
parent
f5957059d8
commit
3ad9ebafd7
5 changed files with 33 additions and 5 deletions
|
|
@ -100,6 +100,18 @@ pub struct BuiltObjectEvent<'a> {
|
|||
pub position: Option<(i32, i32, i32)>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Event)]
|
||||
pub struct BuiltCarryEvent<'a> {
|
||||
pub object: Option<&'a str>,
|
||||
pub position: Option<(i32, i32, i32)>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Event)]
|
||||
pub struct DropObjectEvent<'a> {
|
||||
pub object: Option<&'a str>,
|
||||
pub position: Option<(i32, i32, i32)>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Event)]
|
||||
pub struct KilledObjectEvent<'a> {
|
||||
pub object: Option<&'a str>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue