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.
24 lines
521 B
C#
24 lines
521 B
C#
using NetMFAPatcher.Utils;
|
|
|
|
namespace NetMFAPatcher.MMFParser.ChunkLoaders.Events.Parameters
|
|
{
|
|
class Time : ParameterCommon
|
|
{
|
|
public int Timer;
|
|
public int Loops;
|
|
|
|
public Time(ByteIO reader) : base(reader) { }
|
|
public override void Read()
|
|
{
|
|
Timer = Reader.ReadInt32();
|
|
Loops = Reader.ReadInt32();
|
|
|
|
}
|
|
public override string ToString()
|
|
{
|
|
|
|
return $"Time time: {Timer} loops: {Loops}";
|
|
}
|
|
}
|
|
}
|