thief-mission-viewer/project/code/LGS/Database/Chunks/GamFile.cs

19 lines
420 B
C#

using System.IO;
namespace KeepersCompound.LGS.Database.Chunks;
public class GamFile : IChunk
{
public ChunkHeader Header { get; set; }
public string fileName;
public void ReadData(BinaryReader reader, DbFile.TableOfContents.Entry entry)
{
fileName = reader.ReadNullString(256);
}
public void WriteData(BinaryWriter writer)
{
writer.WriteNullString(fileName, 256);
}
}