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 Every : ParameterCommon
    {
        public int Delay;
        public int Compteur;


        public Every(ByteIO reader) : base(reader) { }
        public override void Read()
        {
            Delay = reader.ReadInt32();
            Compteur = reader.ReadInt32();
            
        }
        public override string ToString()
        {
            return $"Every {Delay/1000} sec";
        }
    }
}
