1 |
using System; |
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
|
6 |
namespace RomCheater.Docking.MemorySearch |
7 |
{ |
8 |
public class RangedComparer<T> : ICompareValue<T>, ICompareAddress |
9 |
{ |
10 |
public RangedComparer(int address, T value) |
11 |
{ |
12 |
this.Address = address; |
13 |
this.Value = value; |
14 |
} |
15 |
#region ICompareValue<T> Members |
16 |
private T _Value; |
17 |
public T Value { get { return _Value; } set { _Value = value; } } |
18 |
#endregion |
19 |
|
20 |
#region ICompareAddress Members |
21 |
private int _Address; |
22 |
public int Address { get { return _Address; } set { _Address = value; } } |
23 |
#endregion |
24 |
} |
25 |
} |