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

Contents of /trunk/RomCheater/Docking/MemorySearch/ResultType.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 280 - (show annotations) (download)
Tue Jun 5 00:13:29 2012 UTC (8 years, 3 months ago) by william
File size: 691 byte(s)
+ import search code from PCSX2 Ram Dump (no need to re-invent the wheel...plus it cuts down on code refactoring time)

1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace RomCheater.Docking.MemorySearch
7 {
8 [Serializable()]
9 public class ResultType<T>
10 {
11
12 public ResultType()
13 {
14 this.Address = 0;
15 this.Value = default(T);
16 }
17 public ResultType(int Address, T Value)
18 {
19 this.Address = Address;
20 this.Value = Value;
21 }
22 private int _Address;
23 private T _Value;
24 public int Address { get { return _Address; } set { _Address = value; } }
25 public T Value { get { return _Value; } set { _Value = value; } }
26 }
27 }

  ViewVC Help
Powered by ViewVC 1.1.22