/[RomCheater]/trunk/RomCheater/Docking/MemorySearch/RangedComparer.cs
ViewVC logotype

Annotation of /trunk/RomCheater/Docking/MemorySearch/RangedComparer.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 378 - (hide annotations) (download)
Tue Jun 19 07:56:36 2012 UTC (9 years, 3 months ago) by william
File size: 719 byte(s)
use uint instead of int for memory addresses

1 william 280 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 william 378 public RangedComparer(uint address, T value)
11 william 280 {
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 william 378 private uint _Address;
22     public uint Address { get { return _Address; } set { _Address = value; } }
23 william 280 #endregion
24     }
25     }

  ViewVC Help
Powered by ViewVC 1.1.22