MCPcopy Create free account
hub / github.com/AdRoll/rustenstein / MapHead

Class MapHead

src/cache.rs:380–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378
379#[derive(Debug)]
380struct MapHead {
381 magic: [u8; 2],
382 pointers: Vec<i32>,
383 title: Vec<u8>, // so far empty in map files we've seen, no idea what to do with this for now... could probably be a string
384}
385
386fn load_maps() -> Vec<Map> {
387 let map_metadata = parse_map_head(DATADIR.to_owned() + "/MAPHEAD.WL1");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected