Skip to content

Commit

Permalink
Add public APIs for working with LineMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Feb 7, 2025
1 parent 56552f8 commit b93cf85
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Runtime/LineMetadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ internal void AddMetadata(IEnumerable<LineMetadataTableEntry> lineMetadataTableE
}
}

public LineMetadata() { }

public void AddMetadata(string lineID, IEnumerable<string> metadata)
{
_lineMetadata.Add(lineID, string.Join(" ", metadata));
}

/// <summary>
/// Gets the line IDs that contain metadata.
/// </summary>
Expand Down

0 comments on commit b93cf85

Please sign in to comment.