public static Offset <N2S.FileFormat.MapSettings> CreateMapSettings(FlatBufferBuilder builder, StringOffset map_nameOffset = default(StringOffset), StringOffset author_nameOffset = default(StringOffset), float chunk_size = 0.0f) { builder.StartTable(3); MapSettings.AddChunkSize(builder, chunk_size); MapSettings.AddAuthorName(builder, author_nameOffset); MapSettings.AddMapName(builder, map_nameOffset); return(MapSettings.EndMapSettings(builder)); }
public static MapSettings GetRootAsMapSettings(ByteBuffer _bb, MapSettings obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }