using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
namespace DefaultNameSpace{
public class DefaultClass : Core
{
public void PluginRun()
{
SetGroupStatus("Accept Roll", true);
while (true)
{
try
{
BlockClientDice(true);
while (true)
{
foreach (var item in me.getDiceItems())
{
item.Dice(GetGroupStatus("Accept Roll"));
}
Thread.Sleep(1000);
}
}
finally
{
BlockClientDice(false);
}
}
}
public void PluginStop()
{
DelGroupStatus("Accept Roll");
}
}
}