public void SelectBar(BarSelect barSelect, ref int Bar, Input input, ref int autoCount) { DesktopKeyboard.SelectBarByInputKey(ref Bar, input, ref autoCount); if (input.eB && autoCount > 10) { barSelect.IsDead = true; input.eB = false; autoCount = 0; } }
public void SelectBar(BarSelect barSelect, ref int BarType, Input input, ref int autoCount) { if (input.barx < 700d / 3d * 1d && input.barx >= 50) { BarType = 1; } else if (input.barx >= 700d / 3d * 1d && input.barx < 700d / 3d * 2d) { BarType = 2; } else if (input.barx >= 700d / 3d * 2d && input.barx < 700d) { BarType = 3; } }
public void SelectBar(BarSelect barSelect, ref int BarType, Input input, ref int autoCount) { SelectBarByInputKey(ref BarType, input, ref autoCount); }