Initial commit

This commit is contained in:
Yukai Li 2021-02-16 01:04:29 -07:00
commit 0f86b0434b
38 changed files with 2370 additions and 0 deletions

25
LibDgf/Dat/DatEntry.cs Normal file
View file

@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace LibDgf.Dat
{
public class DatEntry
{
public uint Offset { get; set; }
public uint Length { get; set; }
public void Read(BinaryReader br)
{
Offset = br.ReadUInt32();
Length = br.ReadUInt32();
}
public void Write(BinaryWriter bw)
{
bw.Write(Offset);
bw.Write(Length);
}
}
}