/[RomCheater]/trunk/RomCheater.PluginFramework/Events/IAcceptsMemoryAddress.cs
ViewVC logotype

Contents of /trunk/RomCheater.PluginFramework/Events/IAcceptsMemoryAddress.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 578 - (show annotations) (download)
Thu Jun 6 08:18:44 2013 UTC (7 years, 1 month ago) by william
File size: 1091 byte(s)

1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace RomCheater.PluginFramework.Events
7 {
8 public interface IBrowseMemoryRegion
9 {
10 bool BrowseMemoryRegion(uint MemoryRegion);
11 }
12
13 public interface IAcceptsBrowseMemoryRegion
14 {
15 event BaseEventHandler<BrowseMemoryRegionEvent> OnBrowseMemoryRegion;
16 }
17
18 public interface IBrowseMemoryRegionEvent
19 {
20 ulong MemoryRegion { get; }
21 }
22 public class BrowseMemoryRegionEvent : BaseEventArgs, IBrowseMemoryRegionEvent
23 {
24 public BrowseMemoryRegionEvent() : this(0) { }
25 public BrowseMemoryRegionEvent(object sender) : this(sender, 0) { }
26 public BrowseMemoryRegionEvent(uint memoryRegion) : base() { this.MemoryRegion = memoryRegion; }
27 public BrowseMemoryRegionEvent(object sender, ulong memoryRegion) : base(sender) { this.MemoryRegion = memoryRegion; }
28 #region IBrowseMemoryRegionEvent members
29 public ulong MemoryRegion { get; private set; }
30 #endregion
31 }
32 }

  ViewVC Help
Powered by ViewVC 1.1.22