Re-exports§
pub use crate::schema::as_brdb::AsBrdbValue;pub use brz::*;
Modules§
Structs§
- BitFlags
- BrReader
- Brdb
- Brick
- Brick
Chunk Index SoA - Brick
Chunk SoA - Brick
Size - Brick
Size Counter - Bundle
Author - One entry of Bundle.json’s
authorsarray as the game writes it. - Bundle
Color - Bundle.json
color(RGBA, 0..=1 floats; the game writes whole numbers for white). - Bundle
Json - Chunk
Index - Chunk
Meta - Collision
- Color
- Component
Chunk SoA - Component
Type Counter - Entity
- Entity
Chunk Index SoA - Entity
Chunk SoA - Entity
Colors - Entity
Type Counter - Found
File - Guid
- IntVector
- Local
Wire Port Source - Owner
- Owner
Table SoA - Position
- Prefab
IntVec3 - An integer 3-vector as serialized in
Meta/Prefab.json(addedGlobalGridOffset). - Prefab
Json Meta/Prefab.json— present only fortype: "Prefab"bundles. Describes the prefab’s bounds/pivots and grid flags so the game can preview and place it. Build one from a brick bounding box withPrefabJson::from_bounds.- Prefab
Pivot - A single pivot: a center point and an axis-aligned half-extent, both in grid-local brick units.
- Prefab
Pivots - The
pivotsobject ofMeta/Prefab.json. The game uses these for preview and stud-snapping when placing a prefab. - Prefab
Vec3 - A float 3-vector as serialized in
Meta/Prefab.json(pivot centers and half-extents). - Quat4f
- Relative
Position - Remote
Wire Port Source - Saved
Brick Color - Unsaved
Fs - All of the dynamic data needed to serialize a world
- Unsaved
Grid - Unsaved
World - Vector3f
- Wire
Chunk SoA - Wire
Connection - Wire
Port - Wire
Port Target - World
- World
Json - World
Meta
Enums§
- BString
- A string that can be owned, static, or shared.
- BrError
- BrFs
Error - Brdb
Error - Brdb
Schema Error - Brdb
World Error - Brick
Type - Direction
- Rotation
Constants§
- BRDB_
SQLITE_ SCHEMA - CHUNK_
HALF - CHUNK_
SIZE - GAME_
VERSION - Written into
Meta/Bundle.jsonasgameVersion. A neutral placeholder so generated bundles don’t bake in a specific changelist. Migrations are driven by the saved data/schema, not this field. - REQUIRED_
TABLES - ZERO_
GUID - The all-zero GUID the game uses for unset ids (bundle
iD, author ids of bundles that never stored one).
Traits§
- Boxed
Component - This trait allows BrdbComponents to be cloned despite being a dyn trait
- BrFs
Reader - Brdb
Component - Into
Reader - Wrap
Functions§
- byte_
to_ orientation - lookup_
entity_ struct_ name - This function may only be useful for legacy worlds from steam next fest. New worlds will properly pair the class name with the entity type
- orientation_
to_ byte