You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
898 B
C#

using DotNetCTFDumper.Utils;
using static DotNetCTFDumper.MMFParser.EXE.ChunkList;
namespace DotNetCTFDumper.MMFParser.EXE.Loaders.Banks
{
public class FontBank : ChunkLoader
{
public int NumberOfItems;
public override void Print(bool ext)
{
Logger.Log($"FontCount:{NumberOfItems.ToString()}");
}
public override string[] GetReadableData()
{
throw new System.NotImplementedException();
}
public override void Read()
{
NumberOfItems = Reader.ReadInt32();
}
public void Write(ByteWriter writer)
{
writer.WriteInt32(NumberOfItems);
//i am testing with no fonts
}
public FontBank(ByteReader reader) : base(reader)
{
}
public FontBank(Chunk chunk) : base(chunk)
{
}
}
}