Parent Directory
|
Revision Log
+ import search code from PCSX2 Ram Dump (no need to re-invent the wheel...plus it cuts down on code refactoring time)
1 | william | 277 | 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 | william | 280 | public ResultType(int Address, T Value) |
18 | william | 277 | { |
19 | this.Address = Address; | ||
20 | this.Value = Value; | ||
21 | } | ||
22 | william | 280 | private int _Address; |
23 | william | 277 | private T _Value; |
24 | william | 280 | public int Address { get { return _Address; } set { _Address = value; } } |
25 | william | 277 | public T Value { get { return _Value; } set { _Value = value; } } |
26 | } | ||
27 | } |
ViewVC Help | |
Powered by ViewVC 1.1.22 |