diff options
author | 2024-10-16 15:12:15 -0400 | |
---|---|---|
committer | 2024-10-16 20:19:07 -0400 | |
commit | 99c398cc127dbc83480f98fea8c76f7c19d4dce8 (patch) | |
tree | c4c311300ad4194217eb55b5f4c278694f6bcdc2 /src/events.rs | |
parent | 4fc097045b0baf8a3a5626681149f4540f8305d7 (diff) |
Navigation Rewrite
Diffstat (limited to 'src/events.rs')
-rw-r--r-- | src/events.rs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/events.rs b/src/events.rs index 41a0db3..4d12f5b 100644 --- a/src/events.rs +++ b/src/events.rs @@ -17,8 +17,17 @@ pub enum DirworldNavigationEvent { }, } +#[derive(Debug, Event, Deref, DerefMut)] +pub struct DirworldLeaveRoom(pub PathBuf); + +#[derive(Debug, Event, Deref, DerefMut)] +pub struct DirworldEnterRoom(pub PathBuf); + +#[derive(Debug, Event, Deref, DerefMut)] +pub struct DirworldChangeRoot(pub PathBuf); + #[derive(Event)] pub struct DirworldSpawn { pub entity: Entity, pub data: Option<Vec<u8>>, -}
\ No newline at end of file +} |