Example #1
0
        public Reader(MemoryHandler memoryHandler)
        {
            this._memoryHandler = memoryHandler;

            this._chatLogReader = new ChatLogReader(this._memoryHandler);

            this._chatLogWorkerDelegate = new ChatLogWorkerDelegate();
            this._monsterWorkerDelegate = new MonsterWorkerDelegate();
            this._npcWorkerDelegate     = new NPCWorkerDelegate();
            this._partyWorkerDelegate   = new PartyWorkerDelegate();
            this._pcWorkerDelegate      = new PCWorkerDelegate();

            this._actorItemResolver   = new ActorItemResolver(this._memoryHandler, this._pcWorkerDelegate, this._npcWorkerDelegate, this._monsterWorkerDelegate);
            this._playerInfoResolver  = new PlayerInfoResolver(this._memoryHandler);
            this._partyMemberResolver = new PartyMemberResolver(this._memoryHandler, this._pcWorkerDelegate, this._npcWorkerDelegate, this._monsterWorkerDelegate);
            this._jobResourceResolver = new JobResourceResolver(this._memoryHandler);
        }
Example #2
0
 public MemoryLocation(Signature signature, MemoryHandler memoryHandler)
 {
     this._signature     = signature;
     this._memoryHandler = memoryHandler;
 }
Example #3
0
 public Scanner(MemoryHandler memoryHandler)
 {
     this._memoryHandler = memoryHandler;
 }
        public MemoryHandler AddHandler(SharlayanConfiguration configuration)
        {
            MemoryHandler memoryHandler = new MemoryHandler(configuration);

            return(this._memoryHandlers.AddOrUpdate(configuration.ProcessModel.ProcessID, memoryHandler, (k, v) => memoryHandler));
        }