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
816 B
C#
39 lines
816 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 Layer : DataLoader
|
|
{
|
|
public string name="ERROR";
|
|
public float xCoefficient;
|
|
public float yCoefficient;
|
|
public int flags;
|
|
|
|
|
|
public override void Print()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public override void Read()
|
|
{
|
|
name = reader.ReadAscii(reader.ReadInt32());
|
|
flags = reader.ReadInt32();
|
|
xCoefficient = reader.ReadSingle();
|
|
yCoefficient = reader.ReadSingle();
|
|
|
|
|
|
|
|
}
|
|
public Layer(ByteIO reader):base(reader)
|
|
{
|
|
}
|
|
}
|
|
}
|