blob: 7167d73b8fcceab3eb4ec60e3a080cd44a65b44b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
use bevy::prelude::*;
/// Event used to trigger preload callbacks after the asset file has been pre-processed to extract
/// the payload
#[derive(Debug, Event, Clone)]
pub struct DirworldPreload {
/// Entity with the `[DirworldEntity]` component corresponding to the entity being preloaded
pub entity: Entity,
/// The data portion of the file after being pre-processed
pub data: Option<Vec<u8>>,
}
|