quests and queststate work
This commit is contained in:
parent
94b460bbc8
commit
445ae1387c
27 changed files with 3815 additions and 179 deletions
|
|
@ -150,7 +150,19 @@ public partial class RobotoViewModel : ObservableObject, IDisposable
|
|||
var config = new BotConfig();
|
||||
var reader = new GameMemoryReader();
|
||||
var humanizer = new Humanizer(config);
|
||||
var input = new InterceptionInputController(humanizer);
|
||||
// Try Interception driver first, fall back to SendInput
|
||||
var interception = new InterceptionInputController(humanizer);
|
||||
IInputController input;
|
||||
if (interception.Initialize())
|
||||
{
|
||||
input = interception;
|
||||
}
|
||||
else
|
||||
{
|
||||
var sendInput = new SendInputController(humanizer);
|
||||
sendInput.Initialize();
|
||||
input = sendInput;
|
||||
}
|
||||
|
||||
_engine = new BotEngine(config, reader, input, humanizer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue