aboutsummaryrefslogtreecommitdiff
path: root/DvdLib/Ifo/CellPositionInfo.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2023-02-03 18:49:23 +0100
committerShadowghost <Ghost_of_Stone@web.de>2023-02-04 18:36:47 +0100
commit519709bf10e30a3666af100df4fcca206dcef498 (patch)
tree82eed199d4ca20cedeb7c9fa3db0977bb6dabd1b /DvdLib/Ifo/CellPositionInfo.cs
parent6bf34f8e22c6f72bde15cbb4b500fc6c4f3273b3 (diff)
Revert "Remove DvdLib (#9068)"
This reverts commit db1913b08fac0749133634efebd1ee7a7876147a.
Diffstat (limited to 'DvdLib/Ifo/CellPositionInfo.cs')
-rw-r--r--DvdLib/Ifo/CellPositionInfo.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/DvdLib/Ifo/CellPositionInfo.cs b/DvdLib/Ifo/CellPositionInfo.cs
new file mode 100644
index 000000000..216aa0f77
--- /dev/null
+++ b/DvdLib/Ifo/CellPositionInfo.cs
@@ -0,0 +1,19 @@
+#pragma warning disable CS1591
+
+using System.IO;
+
+namespace DvdLib.Ifo
+{
+ public class CellPositionInfo
+ {
+ public readonly ushort VOBId;
+ public readonly byte CellId;
+
+ internal CellPositionInfo(BinaryReader br)
+ {
+ VOBId = br.ReadUInt16();
+ br.ReadByte();
+ CellId = br.ReadByte();
+ }
+ }
+}