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
776 B
C#
39 lines
776 B
C#
using mmfparser;
|
|
using NetMFAPatcher.Utils;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace NetMFAPatcher.mmfparser.mfaloaders
|
|
{
|
|
class ChunkList : DataLoader
|
|
{
|
|
List<DataLoader> items = new List<DataLoader>();
|
|
public override void Print()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public override void Read()
|
|
{
|
|
var start = reader.Tell();
|
|
while(true)
|
|
{
|
|
var id = reader.ReadByte();
|
|
if(id==0) break;
|
|
Console.WriteLine("ChunkFound:"+id);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
public ChunkList(ByteIO reader) : base(reader) { }
|
|
}
|
|
}
|