include "Math/PackedVec3f.fbs";
include "Math/PackedVec2f.fbs";
include "Area/EncBiome.fbs";
include "Area/EncAttr.fbs";

namespace pkNX.Structures.FlatBuffers.SV;
attribute "fs_serializer";
attribute "fs_valueStruct";

struct PointData (fs_valueStruct) {
    Position:PackedVec3f;
    LevelRange:PackedVec2f;
    Biome:EncBiome = None;
    Substance:EncAttr = kusamura;
    AreaNo:byte;
}

table PointDataArray (fs_serializer) {
    Table:[PointData] (required);
}

root_type PointDataArray;
