public static Offset <N2S.FileFormat.TilemapData> CreateTilemapData(FlatBufferBuilder builder, N2S.FileFormat.MapFlags map_flags = 0, VectorOffset tilesOffset = default(VectorOffset)) { builder.StartTable(2); TilemapData.AddTiles(builder, tilesOffset); TilemapData.AddMapFlags(builder, map_flags); return(TilemapData.EndTilemapData(builder)); }
public static TilemapData GetRootAsTilemapData(ByteBuffer _bb, TilemapData obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }