Skip to content

Commit

Permalink
Rerun gen-protos
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Sep 13, 2024
1 parent 693517a commit faccb22
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions save/src/protos.rs
Original file line number Diff line number Diff line change
@@ -1,34 +1,29 @@
// This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Meta {
/// Number of voxels along the edge of a chunk
#[prost(uint32, tag = "1")]
pub chunk_size: u32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Character {
/// Graph edges to traverse from the origin to find the node containing the character's entity
#[prost(bytes = "vec", tag = "1")]
pub path: ::prost::alloc::vec::Vec<u8>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EntityNode {
/// Entities whose origins lie within this node, each encoded as:
/// { entity: u64, component_count: varint, components: \[{ type: varint, length: varint, data: [u8\] }] }
#[prost(bytes = "vec", repeated, tag = "1")]
pub entities: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VoxelNode {
/// Voxel data for each modified chunk
#[prost(message, repeated, tag = "1")]
pub chunks: ::prost::alloc::vec::Vec<Chunk>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Chunk {
/// Which dodecahedron vertex is associated with this chunk
Expand Down

0 comments on commit faccb22

Please sign in to comment.