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 |
|
|
public ResultType(uint Address, T Value) |
18 |
|
|
{ |
19 |
|
|
this.Address = Address; |
20 |
|
|
this.Value = Value; |
21 |
|
|
} |
22 |
|
|
private uint _Address; |
23 |
|
|
private T _Value; |
24 |
|
|
public uint Address { get { return _Address; } set { _Address = value; } } |
25 |
|
|
public T Value { get { return _Value; } set { _Value = value; } } |
26 |
|
|
} |
27 |
|
|
} |