handle some more event types

This commit is contained in:
Robin Appelman 2023-03-11 22:56:46 +01:00
commit 3ad9ebafd7
5 changed files with 33 additions and 5 deletions

View file

@ -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>,