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
698 B
C#
29 lines
698 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 Time : ParameterCommon
|
|
{
|
|
public int Timer;
|
|
public int Loops;
|
|
|
|
public Time(ByteIO reader) : base(reader) { }
|
|
public override void Read()
|
|
{
|
|
Timer = reader.ReadInt32();
|
|
Loops = reader.ReadInt32();
|
|
Logger.Log($"Time time: {Timer} loops: {Loops}");
|
|
|
|
}
|
|
public override string ToString()
|
|
{
|
|
return $"Time time: {Timer} loops: {Loops}";
|
|
}
|
|
}
|
|
}
|