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

31
LibDgf/Se/SeEntry.cs Normal file
View file

@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace LibDgf.Se
{
public class SeEntry
{
public int DataOffset { get; set; }
public int DataLength { get; set; }
public uint SeLength { get; set; }
public uint Unknown { get; set; }
public void Read(BinaryReader br)
{
DataOffset = br.ReadInt32();
DataLength = br.ReadInt32();
SeLength = br.ReadUInt32();
Unknown = br.ReadUInt32();
}
public void Write(BinaryWriter bw)
{
bw.Write(DataOffset);
bw.Write(DataLength);
bw.Write(SeLength);
bw.Write(Unknown);
}
}
}