5 |
|
|
6 |
|
namespace RomCheater.PluginFramework.Events |
7 |
|
{ |
8 |
< |
public interface IAcceptsExternalMemoryAddress |
8 |
> |
public interface IBrowseMemoryRegion |
9 |
|
{ |
10 |
< |
bool AcceptExternalMemoryAddress(int address); |
10 |
> |
bool BrowseMemoryRegion(int MemoryRegion); |
11 |
|
} |
12 |
|
|
13 |
|
public interface IAcceptsBrowseMemoryRegion |
17 |
|
|
18 |
|
public interface IBrowseMemoryRegionEvent |
19 |
|
{ |
20 |
< |
int Address { get; } |
20 |
> |
int MemoryRegion { get; } |
21 |
|
} |
22 |
|
public class BrowseMemoryRegionEvent : BaseEventArgs, IBrowseMemoryRegionEvent |
23 |
|
{ |
24 |
|
public BrowseMemoryRegionEvent() : this(0) { } |
25 |
|
public BrowseMemoryRegionEvent(object sender) : this(0, sender) { } |
26 |
< |
public BrowseMemoryRegionEvent(int address) : base() { this.Address = address; } |
27 |
< |
public BrowseMemoryRegionEvent(int address, object sender) : base(sender) { this.Address = address; } |
26 |
> |
public BrowseMemoryRegionEvent(int memoryRegion) : base() { this.MemoryRegion = memoryRegion; } |
27 |
> |
public BrowseMemoryRegionEvent(int memoryRegion, object sender) : base(sender) { this.MemoryRegion = memoryRegion; } |
28 |
|
#region IBrowseMemoryRegionEvent members |
29 |
< |
public int Address { get; private set; } |
29 |
> |
public int MemoryRegion { get; private set; } |
30 |
|
#endregion |
31 |
|
} |
32 |
|
} |