2024-09-20 15:28:44 +00:00
|
|
|
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)
|
|
|
|
{
|
2024-09-22 10:14:34 +00:00
|
|
|
writer.WriteNullString(fileName, 256);
|
2024-09-20 15:28:44 +00:00
|
|
|
}
|
|
|
|
}
|