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

Diff of /trunk/RomCheater/Docking/MemorySearch/ResultDataType.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater/Docking/MemorySearch/ResultDataType.cs	2012/06/03 15:28:16	248
+++ trunk/RomCheater/Docking/MemorySearch/ResultDataType.cs	2012/06/03 16:09:05	249
@@ -7,7 +7,7 @@
 {
     public interface IResultDataType
     {
-        uint Address { get; set; }
+        int Address { get; set; }
         bool IsFrozen { get; set; }
         bool IsUnsigned { get; set; }
         object Value { get; set; }
@@ -16,10 +16,10 @@
     public class ResultDataType : IResultDataType
     {
 
-        public ResultDataType(uint address) { this.Address = address; }
-        public ResultDataType(uint address, bool isfrozen) : this(address) { this.IsFrozen = isfrozen; }
-        public ResultDataType(uint address, bool isfrozen, object value, SearchDataTypes ValueType) : this(address, isfrozen, value) { this.ValueType = ValueType; }
-        public ResultDataType(uint address, bool isfrozen, object value)
+        public ResultDataType(int address) { this.Address = address; }
+        public ResultDataType(int address, bool isfrozen) : this(address) { this.IsFrozen = isfrozen; }
+        public ResultDataType(int address, bool isfrozen, object value, SearchDataTypes ValueType) : this(address, isfrozen, value) { this.ValueType = ValueType; }
+        public ResultDataType(int address, bool isfrozen, object value)
             : this(address, isfrozen)
         {
             this.Value = value;
@@ -46,24 +46,24 @@
             }
             this.IsUnsigned = true;
         }
-        public ResultDataType(uint address, bool isfrozen, byte value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._8bits; this.IsUnsigned = true; }
-        public ResultDataType(uint address, bool isfrozen, sbyte value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._8bits; }
-        public ResultDataType(uint address, bool isfrozen, ushort value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._16bits; this.IsUnsigned = true; }
-        public ResultDataType(uint address, bool isfrozen, short value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._16bits; }
-        public ResultDataType(uint address, bool isfrozen, uint value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._32bits; this.IsUnsigned = true; }
-        public ResultDataType(uint address, bool isfrozen, int value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._32bits; }
-        public ResultDataType(uint address, bool isfrozen, ulong value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._64bits; this.IsUnsigned = true; }
-        public ResultDataType(uint address, bool isfrozen, long value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._64bits; }
+        public ResultDataType(int address, bool isfrozen, byte value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._8bits; this.IsUnsigned = true; }
+        public ResultDataType(int address, bool isfrozen, sbyte value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._8bits; }
+        public ResultDataType(int address, bool isfrozen, ushort value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._16bits; this.IsUnsigned = true; }
+        public ResultDataType(int address, bool isfrozen, short value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._16bits; }
+        public ResultDataType(int address, bool isfrozen, uint value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._32bits; this.IsUnsigned = true; }
+        public ResultDataType(int address, bool isfrozen, int value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._32bits; }
+        public ResultDataType(int address, bool isfrozen, ulong value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._64bits; this.IsUnsigned = true; }
+        public ResultDataType(int address, bool isfrozen, long value) : this(address, isfrozen) { this.Value = (object)value; this.ValueType = SearchDataTypes._64bits; }
 
         #region IResultDataType Members
 
-        private uint _address;
+        private int _address;
         private bool _isfrozen;
         private object _value;
         private SearchDataTypes _valuetype;
         private bool _IsUnsigned = false;
 
-        public uint Address { get { return _address; } set { _address = value; } }
+        public int Address { get { return _address; } set { _address = value; } }
         public bool IsFrozen { get { return _isfrozen; } set { _isfrozen = value; } }
         public object Value { get { return _value; } set { _value = value; } }
         public SearchDataTypes ValueType { get { return _valuetype; } set { _valuetype = value; } }

 

  ViewVC Help
Powered by ViewVC 1.1.22