/[RomCheater]/trunk/RomCheater.PluginFramework/Core/PluginBase.cs
ViewVC logotype

Diff of /trunk/RomCheater.PluginFramework/Core/PluginBase.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater.PluginFramework/Core/PluginBase.cs	2013/06/17 08:58:58	685
+++ trunk/RomCheater.PluginFramework/Core/PluginBase.cs	2013/06/17 09:31:52	686
@@ -2,9 +2,8 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
-using RomCheater.PluginFramework.Interfaces;
-using RomCheater.PluginFramework.Events;
 using System.Diagnostics;
+using RomCheater.Core;
 
 namespace RomCheater.PluginFramework.Core
 {
@@ -18,6 +17,23 @@
         public virtual bool IsNullPlugin { get { return false; } }
         public virtual bool IsGenericPlugin { get { return false; } }
 
+
+        protected void ReadProcessMemory(ulong MemoryAddress, ulong bytesToRead, out ulong bytesRead, out byte[] data)
+        {
+            try
+            {
+                bytesRead = 0x00;
+                data = new byte[bytesToRead];
+
+                
+
+            }
+            catch (Exception ex)
+            {
+                throw ex;
+            }
+        }
+
         #region IPluginBase Members
         public abstract Guid ID { get; }
         public abstract string Name { get; }

 

  ViewVC Help
Powered by ViewVC 1.1.22