Example #1
0
 public D2DataReader(
     IGameMemoryTableFactory memoryTableFactory,
     ProcessDescription[] processDescriptions
     )
 {
     this.memoryTableFactory  = memoryTableFactory ?? throw new ArgumentNullException(nameof(memoryTableFactory));
     this.processDescriptions = processDescriptions;
 }
Example #2
0
        public D2DataReader(
            IGameMemoryTableFactory memoryTableFactory,
            ProcessDescription[] processDescriptions
            )
        {
            this.monstersKilled = new HashSet <int>();
            this.petsSeen       = new HashSet <int>();
            this.monstersSeen   = new HashSet <int>();

            this.memoryTableFactory  = memoryTableFactory ?? throw new ArgumentNullException(nameof(memoryTableFactory));
            this.processDescriptions = processDescriptions;
        }
Example #3
0
 public D2DataReader(IGameMemoryTableFactory memoryTableFactory)
 {
     this.memoryTableFactory = memoryTableFactory ?? throw new ArgumentNullException(nameof(memoryTableFactory));
 }