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

19 lines
420 B
C#
Raw Normal View History

2024-08-24 12:36:44 +00:00
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)
{
2024-09-07 09:42:58 +00:00
fileName = reader.ReadNullString(256);
2024-08-24 12:36:44 +00:00
}
public void WriteData(BinaryWriter writer)
{
2024-11-29 11:41:38 +00:00
writer.WriteNullString(fileName, 256);
2024-08-24 12:36:44 +00:00
}
}