please tell me how to write it correctly to be able to throw a buff by id
пожалуйста подскажите как его правильно написать, чтобы можно было на себя кидать бафы по id
пожалуйста подскажите как его правильно написать, чтобы можно было на себя кидать бафы по id
Code:
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
namespace YourNamespace{
public class YourClass : Core
{
public void keyDown(Keys k, bool isControl, bool isShift, bool isAlt)
{
if (isControl && k == Keys.G) // ctrl + g
{
getBuff(id);
}
if (isControl && k == Keys.Space) // ctrl + space
{
getBuff(id);
getBuff(id);
}
}
public void PluginRun()
{
onKeyDown += keyDown;
while (true)
{
Thread.Sleep(100);
}
}
}
}