ThiefLightmapper/KeepersCompound.LGS/Database/Chunks/GamFile.cs

17 lines
402 B
C#
Raw Normal View History

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