public Computer() { MainMemory = new Memory.Memory(); CIA1 = new CIA6526(this, 0xDC00); CIA2 = new CIA6526(this, 0xDD00); Cpu = new Cpu6510(this); VICII = new VICII(this); //Run(); }
public static int GetUnitIndexByGuid(Memory.Memory wow, UInt64 GUID) { for (int i = 0; i < wow.Objects.Count; i++) { if (wow.Objects[i].GUID == GUID) { return(i); } } return(-1); }
public Cpu6510(Computer mb) { #region OPCODE_DEBUGGING foreach (var oc in Enum.GetValues(typeof(OpCode)) as OpCode[]) { _opcodeStr[(int)oc] = oc.ToString().Split('_')[0]; } #endregion _mb = mb; _memory = mb.MainMemory; Reg = new CpuRegister(); SetupOpcodeDictionary(); }
public static void GetOnMount(Memory.Memory wow, int FlyOrGround) { if (Abilities.AbilityStatus != "Casting") { if ((wow.IsMounted == 0) & (wow.IsIndoors == 0)) { wow.GoTo(0, 0, 0, 0, 3);//Stop WowControl.Sleep(500); WowControl.FarmStatus = "Mounting"; if (FlyOrGround == 0) { Abilities.Button("Fly mount"); } else { Abilities.Button("Ground mount"); } } } if (wow.LastError == "Нельзя использовать в воде.") { InWater = 1; WowControl.FarmStatus = "In water"; } else { InWater = 0; } if (wow.LastError == "Здесь нельзя ездить верхом.") { InDoors = 1; } else { InDoors = 0; } }
public static void SelectTarget(UInt64 GUID) { Memory.Memory wow = new Memory.Memory(); wow.SelectTarget(GUID); }
public static void Stop() { Memory.Memory wow = new Memory.Memory(); wow.GoTo(0, 0, 0, 0, 3); }
public FarmHonor() { wow = new Memory.Memory(); CurrentWP = 0; }
public FarmHonor() { wow = new Memory.Memory(); CurrentWP = 0; }
public FarmSkining() { wow = new Memory.Memory(); }
public static void Stop() { Memory.Memory wow = new Memory.Memory(); wow.GoTo(0, 0, 0, 0, 3); }
public static void SelectTarget(UInt64 GUID) { Memory.Memory wow = new Memory.Memory(); wow.SelectTarget(GUID); }
public FarmSkining() { wow = new Memory.Memory(); }
public FarmMining() { wow = new Memory.Memory(); WPDetected = false; LootingObject = new WowControl.LootObject(); }
public FarmMining() { wow = new Memory.Memory(); WPDetected = false; LootingObject = new WowControl.LootObject(); }