public SysBotRAMEdit(InjectionType type) { InitializeComponent(); Bot = new SysBotController(type); RamOffset.Text = Bot.GetDefaultOffset().ToString("X8"); TB_IP.Text = Bot.IP; TB_Port.Text = Bot.Port; Bot.PopPrompt(); }
public SysBotRAMEdit(InjectionType type) { InitializeComponent(); this.TranslateInterface(GameInfo.CurrentLanguage); Bot = new SysBotController(type); RamOffset.Text = Bot.GetDefaultOffset().ToString("X8"); TB_IP.Text = Bot.IP; TB_Port.Text = Bot.Port; Bot.PopPrompt(); }
public SysBotUI(Action <byte[]> read, Func <byte[]> write, InjectionType type) { InitializeComponent(); Bot = new SysBotController(type); ByteFetch = write; ByteSet = read; RamOffset.Text = Bot.GetDefaultOffset().ToString("X8"); TB_IP.Text = Bot.IP; TB_Port.Text = Bot.Port; Bot.PopPrompt(); }
public SysBotUI(AutoInjector injector, SysBotController c) { InitializeComponent(); Bot = c; Injector = injector; var offset = Bot.GetDefaultOffset(); Injector.SetWriteOffset(offset); RamOffset.Text = offset.ToString("X8"); TB_IP.Text = Bot.IP; TB_Port.Text = Bot.Port; Bot.PopPrompt(); TIM_Interval.Tick += (s, e) => injector.Read(); }
public SysBotUI(AutoInjector injector, SysBotController c, AutoInjector injectorUSB, USBBotController b) { InitializeComponent(); this.TranslateInterface(GameInfo.CurrentLanguage); Bot = c; Injector = injector; BotUSB = b; InjectorUSB = injectorUSB; var offset = Bot.GetDefaultOffset(); Injector.SetWriteOffset(offset); RamOffset.Text = offset.ToString("X8"); TB_IP.Text = Bot.IP; TB_Port.Text = Bot.Port; Bot.PopPrompt(); TIM_Interval.Tick += (s, e) => injector.Read(); }