public GameController(Memory memory) { Memory = memory; Area = new AreaController(this); EntityListWrapper = new EntityListWrapper(this); Window = new GameWindow(memory.Process); Game = new TheGame(memory); Files = new FsController(memory); }
public GameController(Memory memory) { this.Memory = memory; this.Area = new AreaController(this); this._entityListWrapper = new EntityListWrapper(this); this.Window = new GameWindow(memory.Process); this.Internal = new TheGame(memory); this.Files = new FsController(memory); }
private void OnAreaChange(AreaController area) { this.ignoredEntities.Clear(); foreach (EntityWrapper current in this.entityCache.Values) { current.IsInList = false; this.Observer.EntityRemoved(current); } this.entityCache.Clear(); int address = this.Root.Internal.IngameState.Data.LocalPlayer.Address; if (this.Player == null || this.Player.Address != address) { this.Player = new EntityWrapper(this.Root, address); } }
public GameController(Memory memory) { Instance = this; Memory = memory; Game = new TheGame(memory); GameStateController = new GameStateController(memory, Game); CoroutineRunner = new Runner("Main Coroutine"); CoroutineRunnerParallel = new Runner("Parallel Coroutine"); Area = new AreaController(this); EntityListWrapper = new EntityListWrapper(this); Window = new GameWindow(memory.Process); Cache = new Cache(); Files = new FsController(memory); StashController = new StashTabController(); InGame = InGameReal; IsForeGroundCache = WinApi.IsForegroundWindow(Window.Process.MainWindowHandle); MainTimer = Stopwatch.StartNew(); }
private void OnAreaChanged(AreaController area) { ignoredEntities.Clear(); RemoveOldEntitiesFromCache(); }
public override void OnAreaChange(AreaController area) { if (Settings.Enabled) { this.Parse(); } }
public override void OnAreaChange(AreaController area) { this.startXp = this.model.Player.GetComponent<Player>().XP; this.startTime = DateTime.Now; this.curTimeLeftString = "--h --m --s until level up"; }
public override void OnAreaChange(AreaController area) { currentIcons.Clear(); }
public override void OnAreaChange(AreaController area) { lastEntities = new Dictionary<int, int>(); hasStarted = false; maxDps = 0; }
public override void OnAreaChange(AreaController area) { alreadyAlertedOf.Clear(); alertsText.Clear(); currentIcons.Clear(); }
public override void OnAreaChange(AreaController area) { playedSoundsCache.Clear(); }
private void OnAreaChanged(AreaController area) { ignoredEntities.Clear(); RemoveOldEntitiesFromCache(); //int address = gameController.Game.IngameState.Data.LocalPlayer.Address; //if (Player == null || Player.Address != address) //{ // Player = new EntityWrapper(gameController, address); //} }
public virtual void OnAreaChange(AreaController area) { }