use crate::model::geometry::RoomBounds;
use crate::model::room::RoomId;
use serde::{Deserialize, Serialize};
pub use super::ChunkId;
#[derive(Debug, Clone, Serialize, Deserialize)]
#[non_exhaustive]
pub struct Chunk {
pub id: ChunkId,
pub bounds: RoomBounds,
pub room_ids: Vec<RoomId>,
pub dependencies: Vec<ChunkId>,
pub streaming_metadata: StreamingMetadata,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
#[non_exhaustive]
pub struct StreamingMetadata {
pub data_layer: Option<String>,
pub external_data_layer: Option<String>,
pub hlod_layer: Option<String>,
pub streaming_priority: Option<i32>,
}