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.

29 lines
701 B
C#

using NetMFAPatcher.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetMFAPatcher.MMFParser.ChunkLoaders.Events.Parameters
{
class Sample : ParameterCommon
{
public int Handle;
public string Name;
public int Flags;
public Sample(ByteIO reader) : base(reader) { }
public override void Read()
{
Handle = Reader.ReadInt16();
Flags = Reader.ReadUInt16();
Name = Reader.ReadWideString();
}
public override string ToString()
{
return $"Sample '{Name}' handle: {Handle}";
}
}
}