// Building Flatbuffer IDL File

namespace Serial;

attribute "priority";

enum BuildingType : byte { Housing, Shop, Service }

struct Loc {
    x:float;
    y:float;
    z:float;
}

table Building {
    pos:Loc;
    name:string;
    btype:BuildingType;
}

root_type Building;
