/[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

revision 687 by william, Mon Jun 17 09:43:16 2013 UTC revision 688 by william, Mon Jun 17 09:46:51 2013 UTC
# Line 20  namespace RomCheater.PluginFramework.Cor Line 20  namespace RomCheater.PluginFramework.Cor
20          public virtual bool IsGenericPlugin { get { return false; } }          public virtual bool IsGenericPlugin { get { return false; } }
21    
22    
23          protected void ReadProcessMemory(ulong MemoryAddress, ulong bytesToRead, out ulong bytesRead, out byte[] data)          public void ReadProcessMemory(ulong MemoryAddress, ulong bytesToRead, out ulong bytesRead, out byte[] data)
24          {          {
25              try              try
26              {              {
# Line 41  namespace RomCheater.PluginFramework.Cor Line 41  namespace RomCheater.PluginFramework.Cor
41                  throw ex;                  throw ex;
42              }              }
43          }          }
44          protected void WriteProcessMemory(long MemoryAddress, byte[] bytesToWrite, out ulong bytesWritten)          public void WriteProcessMemory(long MemoryAddress, byte[] bytesToWrite, out ulong bytesWritten)
45          {          {
46              try              try
47              {              {
# Line 61  namespace RomCheater.PluginFramework.Cor Line 61  namespace RomCheater.PluginFramework.Cor
61                  throw ex;                  throw ex;
62              }              }
63          }          }
64          protected List<MEMORY_REGION_INFORMATION> QueryMemoryRegions()          public List<MEMORY_REGION_INFORMATION> QueryMemoryRegions()
65          {          {
66              if (this.AcceptedConfig == null || this.AcceptedProcess == null) { return new List<MEMORY_REGION_INFORMATION>(); }              if (this.AcceptedConfig == null || this.AcceptedProcess == null) { return new List<MEMORY_REGION_INFORMATION>(); }
67              IConfigPlugin config = this.AcceptedConfig;              IConfigPlugin config = this.AcceptedConfig;

Legend:
Removed from v.687  
changed lines
  Added in v.688

  ViewVC Help
Powered by ViewVC 1.1.22